gdbinit version 7.0 (and 7.1)

There is a new version of original +mammon gdbinit, 7.0 (available at http://truthix.dump.cz/files/.gdbinit).
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

  1. beowulf’s avatar

    Hello again!

    Just grabbed and tested! Many thanks! :)
    I also found that v7.1 was released last August, you can grab it here (if you didn’t know yet):
    http://truthix.dump.cz/released/.gdbinit

    c ya!

    Reply

  2. KellogS’s avatar

    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.

    Cheers

    /KS

    Reply

  3. beowulf’s avatar

    Wow!

    You rock man (/lady)! :)
    Again, Thank you a lot!

    Regards,

    — beowulf

    Reply