From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1531 invoked by alias); 10 Mar 2004 04:21:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1521 invoked from network); 10 Mar 2004 04:21:10 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 10 Mar 2004 04:21:10 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B0vDN-0004oM-2j; Tue, 09 Mar 2004 23:21:05 -0500 Date: Wed, 10 Mar 2004 04:21:00 -0000 From: Daniel Jacobowitz To: Mark Mitchell Cc: Mark Kettenis , jh@suse.cz, aj@suse.de, gdb-patches@sources.redhat.com Subject: Re: [PATCH] Classify non-POD struct types more or less correctly on AMD64 Message-ID: <20040310042105.GA18320@nevyn.them.org> Mail-Followup-To: Mark Mitchell , Mark Kettenis , jh@suse.cz, aj@suse.de, gdb-patches@sources.redhat.com References: <200401101800.i0AI0Zm6026623@elgar.kettenis.dyndns.org> <20040110183622.GA8108@nevyn.them.org> <200401101858.i0AIwdhk032901@elgar.kettenis.dyndns.org> <20040111041009.GA15714@nevyn.them.org> <200401111237.i0BCbVPL010349@elgar.kettenis.dyndns.org> <20040309153937.GA27951@nevyn.them.org> <404E8DB7.1070406@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <404E8DB7.1070406@codesourcery.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03.o/txt/msg00226.txt On Tue, Mar 09, 2004 at 07:38:31PM -0800, Mark Mitchell wrote: > Daniel Jacobowitz wrote: > > >I don't know if this sort of information should be in the dwarf2 > >information somehow. It definitely is in the C++ GNU v3 ABI: > > http://www.codesourcery.com/cxx-abi/abi.html#calls > > I think it should definitely be encoded in DWARF2. (I don't know where; > I just think it's a mistake for the debugger to be trying to figure this > out for itself. The rules are pretty subtle, and may be different from > architecture to architecture, or compiler release to compiler release, > even, if we make an intentional change.) > > For stabs, you're probably hosed -- but then again, aren't you just > generally hosed with stabs? :-) Amen. > >I'm guessing that this is what the x86-64 ABI was referring to, rather > >than the actual term POD. > > Yes. OK, thanks. I don't believe there is an appropriate existing tag for this, so if we get sufficiently fed up with trying to guess, we'll have to propose one :) -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1531 invoked by alias); 10 Mar 2004 04:21:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1521 invoked from network); 10 Mar 2004 04:21:10 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 10 Mar 2004 04:21:10 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B0vDN-0004oM-2j; Tue, 09 Mar 2004 23:21:05 -0500 Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Daniel Jacobowitz To: Mark Mitchell Cc: Mark Kettenis , jh@suse.cz, aj@suse.de, gdb-patches@sources.redhat.com Subject: Re: [PATCH] Classify non-POD struct types more or less correctly on AMD64 Message-ID: <20040310042105.GA18320@nevyn.them.org> Mail-Followup-To: Mark Mitchell , Mark Kettenis , jh@suse.cz, aj@suse.de, gdb-patches@sources.redhat.com References: <200401101800.i0AI0Zm6026623@elgar.kettenis.dyndns.org> <20040110183622.GA8108@nevyn.them.org> <200401101858.i0AIwdhk032901@elgar.kettenis.dyndns.org> <20040111041009.GA15714@nevyn.them.org> <200401111237.i0BCbVPL010349@elgar.kettenis.dyndns.org> <20040309153937.GA27951@nevyn.them.org> <404E8DB7.1070406@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <404E8DB7.1070406@codesourcery.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00226.txt.bz2 Message-ID: <20040319000900.mxVrW1AT8wNlTABGb2DN3sFdEBV92o1oL4yM5BuRNHk@z> On Tue, Mar 09, 2004 at 07:38:31PM -0800, Mark Mitchell wrote: > Daniel Jacobowitz wrote: > > >I don't know if this sort of information should be in the dwarf2 > >information somehow. It definitely is in the C++ GNU v3 ABI: > > http://www.codesourcery.com/cxx-abi/abi.html#calls > > I think it should definitely be encoded in DWARF2. (I don't know where; > I just think it's a mistake for the debugger to be trying to figure this > out for itself. The rules are pretty subtle, and may be different from > architecture to architecture, or compiler release to compiler release, > even, if we make an intentional change.) > > For stabs, you're probably hosed -- but then again, aren't you just > generally hosed with stabs? :-) Amen. > >I'm guessing that this is what the x86-64 ABI was referring to, rather > >than the actual term POD. > > Yes. OK, thanks. I don't believe there is an appropriate existing tag for this, so if we get sufficiently fed up with trying to guess, we'll have to propose one :) -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer