This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 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: Thu, 1 Sep 2016 00:36:37 -0700
- Subject: [PATCH v2 0/3] Support AARCH64 ILP32 for gdb
- Authentication-results: sourceware.org; auth=none
- References: <1472516750-30743-1-git-send-email-apinski@cavium.com>
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.
v1 -> v2:
1. Rebase on top of the current trunk
2. Move the setting of ilp32 earlier in the patch 2 so less changes are done in patch 3.
3. Use 64bit registers for pc and sp like x32 does.
4. No longer changing the name of the register set for ILP32; reducing the changes for patch 3.
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