Mail Archives: djgpp/2001/04/27/03:34:13
> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Thu, 26 Apr 2001 13:01:10 -0400
>
> GCC 3.0 when released will produce DWARF2 debug info with the '-gdwarf-2'
> switch. The next version of GDB for DJGPP will presumably support DWARF2.
DWARF2 should already be supported by GDB; I don't have any
DJGPP-specific items on my todo regarding DWARF2.
There's work under way by the GDB maintainers (not specific to the
DJGPP port) to enhance GDB's support of non-trivial C++ code with
DWARF2 debug info, but the basic support should already be there. For
example, you should be able to compile a C program with -O3 and be
able to step through inlined functions and examine register variables
without any problems we are used to with COFF and stabs.
If you can build a program with -gdwarf-2, please try debugging it.
If that doesn't work, please tell the details, so any problems could
be debugged and fixed for the next GDB release.
Thanks.
- Raw text -