This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Special casing dtors?
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: keiths at redhat dot com
- Cc: pedro at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Thu, 2 Apr 2009 10:25:32 +0200 (CEST)
- Subject: Re: [RFC] Special casing dtors?
- References: <49CAB139.8010100@redhat.com> <49CD2F0F.8040203@redhat.com> <49CDD4C1.1080306@redhat.com> <200903301658.16807.pedro@codesourcery.com> <49D3FCC9.7090505@redhat.com>
> Date: Wed, 01 Apr 2009 16:46:17 -0700
> From: Keith Seitz <keiths@redhat.com>
>
> I have run with gcc 4.2.0, 4.2.4, and gcc 4.3.2 releases (well, F10
> w/4.3.2), and I was finally able to reproduce the failures you mention
> with -gstabs+ (on the 4.2.x compilers). After digging into this for
> quite some time, I am convinced this happens not because of my patch,
> but because stabs is just really broken in gdb.
Well, stabs seems to work reasonable well for plain C on 32-bit
platforms. But I think we basically gave up on stabs for C++ many
years ago already. That's one of the reasons why basically all Open
Source Unix-like OSes switched to DWARF.