This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] Stabs documentation tweak for pointers to members


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]