]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/amd64-tdep.c
gdb: Allow prologue detection via symbols for Intel compilers.
authorFelix Willgerodt <felix.willgerodt@intel.com>
Thu, 8 Apr 2021 07:16:15 +0000 (09:16 +0200)
committerFelix Willgerodt <felix.willgerodt@intel.com>
Thu, 8 Apr 2021 07:19:57 +0000 (09:19 +0200)
commit16e311ab6d4d379da18ad03bc5373f621f488f41
treeafa98eda1ca8835ff0f8181b360777be8fab8451
parentfbb3bcfcd8810ecf25a47e71c2f7d46d7a74a6be
gdb: Allow prologue detection via symbols for Intel compilers.

The next-gen Intel Fortran compiler isn't flang-based, but emits
prologue_end in the same manner.  As do the newer Intel C/C++ compilers.
This allows prologue detection based on dwarf for all newer Intel compilers.
The cut-off version was not chosen for any specific reason other than the
effort to test this.

gdb/Changelog:
2021-04-08  Felix Willgerodt  <felix.willgerodt@intel.com>

     * i386-tdep.c (i386_skip_prologue): Use symbol table to find the
     prologue end for Intel compilers.
     * amd64-tdep.c (amd64_skip_prologue): Likewise.
     * producer.c (producer_is_icc_ge_19): New function.
     * producer.h (producer_is_icc_ge_19): New declaration.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/i386-tdep.c
gdb/producer.c
gdb/producer.h