This is the mail archive of the gdb-prs@sources.redhat.com 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: gdb/483: gdb.c++/local.exp: ptype Local


The following reply was made to PR c++/483; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: gdb/483: gdb.c++/local.exp: ptype Local
Date: Sat, 21 Jun 2003 18:19:04 -0400

 On Fri, Apr 12, 2002 at 08:31:34PM -0500, Michael Elizabeth Chastain wrote:
 > readelf on gdb.c++/local says:
 > 
 >   <3><12f>: Abbrev Number: 11 (DW_TAG_subprogram)
 >        DW_AT_sibling     : <158>
 >        DW_AT_name        : loc_foo
 >        DW_AT_decl_file   : 1
 >        DW_AT_decl_line   : 14
 >        DW_AT_type        : <1bf>
 >        DW_AT_inline      : 2      (declared as inline but ignored)
 > 
 > That is the only loc_foo in the whole listing.
 > 
 > By the way, you can grab the binary yourself.  It's in the first tarball
 > mentioned in the bug report.
 
 This is caused by the second reference to loc_foo, via a
 DW_AT_abstract_origin.  Methods with an abstract_origin should not be
 added to the class's methods list.  This goes with the collection of
 things to fix in dwarf2read.
 
 -- 
 Daniel Jacobowitz
 MontaVista Software                         Debian GNU/Linux Developer


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