[0/2] Allow dwarf based prologue detection for Intel compilers.

Message ID 20210407151209.2261068-1-felix.willgerodt@intel.com
Headers show
  • Allow dwarf based prologue detection for Intel compilers.
Related show


Tankut Baris Aktemur via Gdb-patches April 7, 2021, 3:12 p.m.
Some of the newer Intel compilers are now partially LLVM based, making
this possible/necessary. Tested with the latest versions of icc, icx,
dpcpp, ifort and ifx.

In addition this fixes an ugly (but without any consequence) warning with
the latest Intel Fortran compiler.


Felix Willgerodt (2):
  gdb: Update producer check for Intel compilers.
  gdb: Allow prologue detection via symbols for Intel compilers.

 gdb/amd64-tdep.c |  9 ++++---
 gdb/i386-tdep.c  |  9 ++++---
 gdb/producer.c   | 63 +++++++++++++++++++++---------------------------
 gdb/producer.h   | 23 +++---------------
 4 files changed, 42 insertions(+), 62 deletions(-)


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928