This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] regresssion(internal-error) printing subprogram argument
On 12/15/2017 09:47 AM, Joel Brobecker wrote:
> However, there are plenty of other similar symbols, for instance:
>
> <1><b04>: Abbrev Number: 35 (DW_TAG_variable)
> <b05> DW_AT_name : (indirect string, offset: 0x4b9): ada_main__u00049
> <b09> DW_AT_decl_file : 5
> <b0a> DW_AT_decl_line : 136
> <b0b> DW_AT_linkage_name: (indirect string, offset: 0x17cc): system__bounded_stringsS
> <b0f> DW_AT_type : <0x79>
> <b13> DW_AT_external : 1
> <b13> DW_AT_location : 9 byte block: 3 28 1 0 0 0 0 0 0 (DW_OP_addr: 128)
>
> So I'm still not sure what makes interfaces__cS special. I will look
> into it when I have a chance...
I wonder whether it's because it can demangle as a C++ symbol (using
some older mangling scheme):
$ echo interfaces__cS | c++filt
interfaces(char, signed)
Thanks,
Pedro Alves