This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa] Stabs documentation tweak for pointers to members
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: drow at false dot org
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 2 Aug 2006 22:59:26 +0200 (CEST)
- Subject: Re: [rfa] Stabs documentation tweak for pointers to members
- References: <20060802032655.GA1847@nevyn.them.org>
> Date: Tue, 1 Aug 2006 23:26:55 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> When working on pointers to members I encountered only one place in
> GDB that seemed to need an actual "member" type, instead of just "pointer to
> member" (which is not really a pointer at all). That was in the stabs
> reader. The documentation says that stabs has a "member" construct, and
> represents pointers to members as pointers to that construct. The reader
> code matches this.
>
> But if this was ever the case for GCC, it hasn't been for a while. Now
> the @ descriptor means pointer to member. This patch corrects the manual;
> the final patch will correct the stabs reader.
For what it is worth, I couldn't find any refernce to @@ in the Sun
"Stabs Interface Manual", so it's indeed very likely this is a gcc
invention.