gdbinit version 7.0 (and 7.1)

There is a new version of original +mammon gdbinit, 7.0 (available at
GDB version used by Apple has some problems with it (doesn’t recognize global variables outside each function) so it needed some fixes to work. I have changed the colors and removed the data window display (personally I don’t think it’s useful, edit “define context” and remove the comment for “datawin”).

Grab it here: gdbinit

If you want to see what was changed, just diff the two versions!

Update: Just ported version 7.1 dd fix to this version. Grab it here: gdbinit-7.1-macosx

3 thoughts on “gdbinit version 7.0 (and 7.1)

  1. Cool fg!

    I was working on my gdbinit over the weekend (an heavily tweaked version of mammon_’s one) and still run into issue.
    I will try this one, as it seems that “I have” to write a new tutorial and most of the people request gdb debugging essay.



Leave a Reply

Your email address will not be published. Required fields are marked *