[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


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.


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, 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.


2008-05-06:  Lubomir Rintel  <address@hidden>

        * .gdbinit: New file.
        * grub.gdb: New file.
        * New file.

Lubomir Rintel (Was: Kundrak)

Attachment: grub2-gdbscripts.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]