Re: [RFC/RFA] Deal with -g1 generated DWARF2 debug info

Mark Kettenis
2005-12-04T22:21:14Z

> Date: Sun, 4 Dec 2005 13:16:44 -0800
> From: Jim Blandy <jimb@red-bean.com>
>
> So, you want to have GDB misinterpret unambiguous Dwarf debugging info
> so that you can use -g1? This sounds like a good candidate for a
> BSD-specific patch, to me.

So people shouldn't try to compile glibc with -g1 on Linux or the
Hurd? That'd result in a borked gdb as well.

You could argue that GCC is broken, but then given the constraints
laid out by the DWARF2 standard, what GCC does seems reasonable to me.

Mark