This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/3] Support AARCH64 ILP32 for gdb
- From: Andrew Pinski <apinski at cavium dot com>
- To: gdb-patches at sourceware dot org, binutils at sourceware dot org
- Cc: Andrew Pinski <apinski at cavium dot com>
- Date: Mon, 29 Aug 2016 17:25:47 -0700
- Subject: [PATCH 0/3] Support AARCH64 ILP32 for gdb
- Authentication-results: sourceware.org; auth=none
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