From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12665 invoked by alias); 18 Aug 2006 06:09:32 -0000 Received: (qmail 12655 invoked by uid 22791); 18 Aug 2006 06:09:31 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Aug 2006 06:09:27 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k7I68pKr017497; Fri, 18 Aug 2006 08:08:51 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k7I68oQc023705; Fri, 18 Aug 2006 08:08:50 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k7I68oUG019449; Fri, 18 Aug 2006 08:08:50 +0200 (CEST) Date: Fri, 18 Aug 2006 13:26:00 -0000 Message-Id: <200608180608.k7I68oUG019449@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: drow@false.org CC: gdb-patches@sourceware.org In-reply-to: <20060818041112.GB13020@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 18 Aug 2006 00:11:12 -0400) Subject: Re: [rfc] Recognize GCC pointer to member function DWARF2 descriptions References: <20060807025740.GA3018@nevyn.them.org> <20060818041112.GB13020@nevyn.them.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00121.txt.bz2 > Date: Fri, 18 Aug 2006 00:11:12 -0400 > From: Daniel Jacobowitz > > 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