Question about a varasm change
Jeffrey A Law
law@cygnus.com
Mon Sep 18 08:34:00 GMT 2000
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
More information about the Gcc
mailing list