LWN.net Logo

GDB 6.0 released

Version 6.0 of the GNU debugger (GDB) has been released. The project website has still not been updated as of this writing, but the announcement can be found in the download area. There's a lot of new stuff in this release, including Objective C support, "useable" Java support, the ability to work with the new Native POSIX Threads and thread-local storage, the ability to separate executables and debugging symbol information, and much more. (Thanks to Marko Myllynen).
(Log in to post comments)

GDB 6.0 released

Posted Oct 7, 2003 15:46 UTC (Tue) by ahornby (subscriber, #3366) [Link]

Does the new DWARF2 call frame support mean gdb can now debug programs compiled with -fomit-frame-pointer?

That would be great as it provides quite a performance boost on x86.

GDB 6.0 released

Posted Oct 7, 2003 17:51 UTC (Tue) by proski (subscriber, #104) [Link]

It's supposed to work, but it doesn't seem to work properly yet. I've just compiled a program by 3.2.2 from Red Hat 9 with -fomit-frame-pointer and -ggdb without optimization. When I run that program under the newly compiled gdb 6.0, the arguments in the backtrace are shown, but many of them are incorrect. gdb would not even show the calling function.

Once it's done, -fomit-frame-pointer should be enabled by -O2. Indeed, it adds the "bp" register to the register pool on the register starved x86 processors. It's especially useful on systems where the "ds" and "ss" registers are equal (including Linux), so "bp" can be used to access the data, not just the stack, without segment prefix.

Ada patches included?

Posted Oct 7, 2003 16:37 UTC (Tue) by mark.lorenzen (guest, #5090) [Link]

Does anyone know if Ada Core Technologies patches for Ada support have been included? The release note does not mention Ada at all.

why MIPS bsd gone ?

Posted Oct 8, 2003 12:14 UTC (Wed) by johnjones (guest, #5462) [Link]

the mips BSD target would be nice to keep a few people are starting
this up again and its trivial to keep...

freeBSD and openBSD ports are coming along.....

why MIPS bsd gone ?

Posted Oct 9, 2003 14:45 UTC (Thu) by nix (subscriber, #2304) [Link]

If you want to maintain it, step up and offer :)

The problem is generally that extra targets add maintenance overhead for people making generic changes, and if there is no target maintainer the code tends to go untested and rot into uselessness --- but with no target maintainer this goes unnoticed, and the rotted code *still* causes that extra maintenance overhead.

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds