This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Question about a varasm change



  In message <Pine.LNX.4.21.0009181031180.1440-100000@mahatma.cygnus.co.uk>you 
write:
  > On 18 Sep 2000, Jason Merrill wrote:
  > 
  > > The change fixes DECL_ASSEMBLER_NAME so that it actually corresponds to t
  > he
  > > name used in assembler output, as documented.  If the stabs backend expec
  > ts
  > > it to be the unmangled name from the source, it's looking in the wrong
  > > place; that's what DECL_NAME is for.
  > 
  > Thanks.  Is this patch OK?  It fixes a bunch of gdb failures.
  > 
  > 
  > Bernd
  > 
  > 	* dbxout.c (dbxout_symbol_name): Use DECL_NAME rather than
  > 	DECL_ASSEMBLER_NAME.
Err, don't you need to use DECL_ASSEMBLER_NAME if the decl is a 
static class member?  According to the comment in that case we want the
mangled name.

jeff


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