From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Bernd Schmidt Cc: Jason Merrill , gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: Question about a varasm change Date: Mon, 18 Sep 2000 08:34:00 -0000 Message-id: <19749.969291268@upchuck> References: X-SW-Source: 2000-09/msg00401.html 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