This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Recognize GCC pointer to member function DWARF2 descriptions
> Date: Fri, 18 Aug 2006 00:11:12 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Sun, Aug 06, 2006 at 10:57:40PM -0400, Daniel Jacobowitz wrote:
> > GCC emits DW_TAG_ptr_to_member_type for pointers to member data, but not
> > for pointers to member functions. I plan to fix this in GCC eventually,
> > but in the mean time, this does some pattern recognition on the GCC
> > output to convert it into a pointer to member. It recognizes structures
> > of the form:
> >
> > struct {
> > void (*__pfn) (args, ...);
> > ptrdiff_t __delta;
> > };
>
> I checked this in as attached, with a typo fix. The underlying issue
> being worked around here is GCC PR debug/28767.
Could you add a reference to that GCC PR in a comment somewhere? I
think it'd be useul to know exactly what GCC issue is being worked
around.
Mark