diff options
author | Maciej W. Rozycki <macro@embecosm.com> | 2023-03-31 15:31:40 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@embecosm.com> | 2023-03-31 15:31:40 +0100 |
commit | 5b2007ad26f51b244ce66ec65d13e7f71a7f22bc (patch) | |
tree | 3a95c2b9bcb65e69732c70f47b1d44f933ad0a11 /gdb/amd64-netbsd-nat.c | |
parent | 571eb2644c7a52a78250ce9906d9c5127006e164 (diff) | |
download | binutils-5b2007ad26f51b244ce66ec65d13e7f71a7f22bc.zip binutils-5b2007ad26f51b244ce66ec65d13e7f71a7f22bc.tar.gz binutils-5b2007ad26f51b244ce66ec65d13e7f71a7f22bc.tar.bz2 |
GDB: Bring back the handling of DW_CC_program
Fix a functional regression and restore the handling of DW_CC_program
code of DW_AT_calling_convention attribute for determining the name of
the starting function of the program where the DW_AT_main_subprogram
attribute has not been provided, such as with Fortran code compiled with
GCC versions 4.5.4 and below, or where DWARF version 3 or below has been
requested. Without it "main" is considered the starting function. Cf.
GCC PR fortran/43414.
Original code was removed with commit 6209cde4ddb8 ("Delete DWARF
psymtab code"), and then an update to complement commit 81873cc81eff
("[gdb/symtab] Support DW_AT_main_subprogram with -readnow.") has also
been included here.
Diffstat (limited to 'gdb/amd64-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions