Mail Archives: djgpp-workers/2002/01/04/08:25:24
On 27 Dec 2001 at 12:00, Eli Zaretskii wrote:
>
> On Thu, 27 Dec 2001, Andris Pavenis wrote:
>
> > Yes -ggdb is equal to -gdwarf-2 now. I myself have used DWARF2 debugging
> > info sometimes, but sometimes had problems with it (GDB-5.1 or not too old
> > CVS versions of GDB). About this change: it's not something I have done,
> > it was changed by GCC developers.
>
> But the default for -ggdb should be platform-dependent, no? I mean, I
> guess not every platform supports DWARF2, right? So GCC developers
> shouldn't have changed that without asking you, I think.
>
At least default for -g can be redefined. I haven't looked for
corresponding definitions about -ggdb.
Today built entire rhtvision-1.13 with gcc-3.0.3 and used -ggdb3.
This time I haven't noticed serious problems tracing TVision demo program
with RHGDB (from rhide-1.4.9.1).
However I used binutils 13 November CVS snapshot but not
binutils-2.11.2. So with not very old CVS version of binutils and GDB-5.1
DWARF2 debug info could be useable.
Andris
- Raw text -