[RFC][gdb/symtab] Add DW_IDX_GNU_main_subprogram
Tom de Vries
tdevries@suse.de
Mon Feb 8 11:46:56 GMT 2021
[ was: Re: [PATCH][gdb/testsuite] Add KFAILs for PR symtab/24549 ]
On 2/5/21 6:28 PM, Tom de Vries wrote:
> On 2/5/21 4:25 PM, Tom Tromey wrote:
>>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
>>
>> Tom> gdb/testsuite/ChangeLog:
>>
>> Tom> 2021-01-29 Tom de Vries <tdevries@suse.de>
>>
>> Tom> * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
>> Tom> * gdb.fortran/mixed-lang-stack.exp: Same.
>>
>> This seems fine to me. Thanks for doing this.
>>
>> This is definitely a hole in .gdb_index (which I wouldn't bother
>> fixing), but I wonder if the official DWARF index has support for this
>> situation.
>
> AFAICT, no. Maybe we should bring this up on the DWARF std ml?
I tried fixing this by adding a GNU extension DW_IDX_GNU_main_subprogram
to .debug_names.
WDYT?
Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdb-symtab-Add-DW_IDX_GNU_main_subprogram.patch
Type: text/x-patch
Size: 13754 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20210208/1ba1e4db/attachment.bin>
More information about the Gdb-patches
mailing list