Subject: Re: CVS commit: src/gnu/dist/gcc/gcc/config/i386
To: Matthias Drochner <>
From: Krister Walfridsson <>
List: tech-toolchain
Date: 07/22/2004 00:41:30
On Mon, 19 Jul 2004, Matthias Drochner wrote:

> said:
> > GDB have problems with stabs; I don't think I have managed to debug
> > any non-trivial program on NetBSD 2.0 without GDB crashing or
> > misbehaving in other ways.
> Just for curiosity - does gdb6 work better, or don't they care
> about stabs either?

It usually fails on stabs in the same way as gdb5...

> > And you really want dwarf when debugging C++ too.
> > [...]
> Actually, whenever I tried to debug something in-depth I came
> to a point where gdb was useless. Didn't cope with threads, didn't
> show useful stackframes, couldn't singlestep or whatever. I always
> ended up with printf()s or other code instrumentation...
> (That's not to argue about debug symbol formats, just a side note.
> It might explain however why almost noone cares about debugging
> issues.)

This is what I too have seen in the past.  But gdb6 and dwarf have worked
OK for me lately...