[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] GDB Macros to ease debugging modules
From: |
Lubomir Rintel |
Subject: |
[PATCH] GDB Macros to ease debugging modules |
Date: |
Tue, 06 May 2008 13:10:17 +0200 |
Hi,
So these files are meant to be in conjunction with either QEMU or GDB.
They provide macros that will help mapping symbol files to appropriate
addresses. The grub.gdb file contains inline documentation, I plan on
either updating wiki documentation [1] or texinfo documentation in case
anyone's already working on it.
[1] http://grub.enbug.org/DebuggingWithGDB
For now, given the GDB's way of to looking up symbol files and ability
I am aware of and missing abilities to pass the resolved paths to the
program that's exec'd, gmodule.pl has to reside at the same directory as
symbol files and that should be GDB's working directory as well. That
directory is the build directory, which is often the source directory.
Needless to say, this needs preservance of unstripped elf files, which
means these [2] modifications to genmk.rb.
[2] http://lists.gnu.org/archive/html/grub-devel/2008-04/msg00080.html
2008-05-06: Lubomir Rintel <address@hidden>
* .gdbinit: New file.
* grub.gdb: New file.
* gmodule.pl: New file.
--
Lubomir Rintel (Was: Kundrak)
http://v3.sk/~lkundrak/
grub2-gdbscripts.patch
Description: Text Data
- [PATCH] GDB Macros to ease debugging modules,
Lubomir Rintel <=