This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] Add SYMBOL_SET_LINKAGE_NAME
- From: Paul Hilfinger <hilfingr at EECS dot Berkeley dot EDU>
- To: David Carlton <carlton at kealia dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 17 Feb 2004 16:49:04 -0800
- Subject: Re: [rfa] Add SYMBOL_SET_LINKAGE_NAME
> When we're talking about types, however, linkage names don't make much
> sense, only natural names.
Oh, I DO so hate to rock the boat, but this statement is not true in
the case of Ada, in which the natural name of a type is not how it's
known to the linker.
I don't see why "linkage names don't make much sense" anyway: the name
of a (C/C++) type is, indeed, what the linker sees. The fact that it
happens to coincide with the natural name in the case of C types is an
interesting fact that, perhaps "should be shielded behind this macro".
Paul