diff options
author | Tom de Vries <tdevries@suse.de> | 2019-06-10 09:28:30 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-06-10 09:28:30 +0200 |
commit | 81873cc81effbd657efe5f525d369e430ce77d7a (patch) | |
tree | 3e304c67f2d93ae9475427cad6d1fd9115807e20 /gold | |
parent | a72f8c4ce397a0bbe98281d4151982330ad16f15 (diff) | |
download | gdb-81873cc81effbd657efe5f525d369e430ce77d7a.zip gdb-81873cc81effbd657efe5f525d369e430ce77d7a.tar.gz gdb-81873cc81effbd657efe5f525d369e430ce77d7a.tar.bz2 |
[gdb/symtab] Support DW_AT_main_subprogram with -readnow.
DW_AT_main_subprogram is supported in normal mode in read_partial_die, but not
in -readnow mode.
Fix this by adding support for DW_AT_main_subprogram in read_func_scope.
Tested on x86_64-linux with native and RFC target board readnow (
https://sourceware.org/ml/gdb-patches/2019-05/msg00073.html ).
gdb/ChangeLog:
2019-06-10 Tom de Vries <tdevries@suse.de>
PR symtab/16264
PR symtab/24517
* dwarf2read.c (read_func_scope): Handle DW_AT_main_subprogram.
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions