GDB 4.18 with GCC 3.3.6

Jason Molenda jmolenda@apple.com
Fri Jul 8 19:02:00 GMT 2005


On Jul 8, 2005, at 5:08 AM, Stewart, Richard wrote:

> I would like to use GDB 4.18 with GCC 3.3.6 and possibly even newer
> versions of GCC.

Have you tried using stabs instead of dwarf?  -gstabs+ on the  
compiler command line.  Stabs has many problems, but rapid  
advancement of the debug format is not among them. :-)

We're still using stabs here at Apple.  It's a drag for some C++  
things, but otherwise not unlivable.  Of course we hope to migrate to  
DWARF, but most stuff works fine with stabs.

J



More information about the Gdb mailing list