[PATCH 0/3] Support AARCH64 ILP32 for gdb

Andrew Pinski apinski@cavium.com
Tue Aug 30 00:26:00 GMT 2016


This patch set implements the basic support needed
to debug AARCH64 ILP32 programs under Linux.
This does not implement the full needed support
like for syscalls or core dump (both are still in flux).
But what is provided here is not influx at all and is indepedent
of any changes could happen to the Linux kernel or glibc.

Thanks,
Andrew Pinski

Andrew Pinski (3):
  Move AARCH64 ILP32 rejection handling
  Add ILP32 support to gdb.
  Handle ILP32 AARCH64 correctly for gdbserver

 bfd/ChangeLog                       |   8 ++
 bfd/cpu-aarch64.c                   |  28 +-----
 bfd/elfnn-aarch64.c                 |  17 +++-
 gdb/ChangeLog                       |  23 +++++
 gdb/aarch64-linux-tdep.c            |   8 +-
 gdb/aarch64-tdep.c                  |  23 ++++-
 gdb/aarch64-tdep.h                  |   3 +
 gdb/features/Makefile               |   4 +-
 gdb/features/aarch64_ilp32-core.xml |  67 +++++++++++++
 gdb/features/aarch64_ilp32.c        | 191 ++++++++++++++++++++++++++++++++++++
 gdb/features/aarch64_ilp32.xml      |  14 +++
 gdb/gdbserver/ChangeLog             |  19 ++++
 gdb/gdbserver/Makefile.in           |   6 ++
 gdb/gdbserver/configure.srv         |   7 +-
 gdb/gdbserver/linux-aarch64-ipa.c   |  11 ++-
 gdb/gdbserver/linux-aarch64-low.c   |  10 +-
 gdb/regformats/aarch64_ilp32.dat    |  73 ++++++++++++++
 17 files changed, 474 insertions(+), 38 deletions(-)
 create mode 100644 gdb/features/aarch64_ilp32-core.xml
 create mode 100644 gdb/features/aarch64_ilp32.c
 create mode 100644 gdb/features/aarch64_ilp32.xml
 create mode 100644 gdb/regformats/aarch64_ilp32.dat

-- 
2.7.4



More information about the Binutils mailing list