aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-13 14:16:35 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-13 14:16:35 +0100
commit015ec493d8603095d212df443e7b75017b572455 (patch)
tree5c94a805458a12e87d0cac2dc4484408b96f05a2
parent1673df3278637a911b55983a92e4d1f61816e57c (diff)
downloadgdb-015ec493d8603095d212df443e7b75017b572455.zip
gdb-015ec493d8603095d212df443e7b75017b572455.tar.gz
gdb-015ec493d8603095d212df443e7b75017b572455.tar.bz2
Recognize aarch64 PT_GETREGS and PT_GETFPREGS notes on NetBSD
* elf.c (elfcore_grok_netbsd_note): Add support for aarch64.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f5ad233..70774e5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-13 Kamil Rytarowski <n54@gmx.com>
+
+ * elf.c (elfcore_grok_netbsd_note): Add support for aarch64.
+
2020-03-13 Christian Eggers <ceggers@gmx.de>
* bfd.c (bfd_record_phdr): New local "opb". Fix assignment of
diff --git a/bfd/elf.c b/bfd/elf.c
index 2d0001b..1926ecc 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -10768,6 +10768,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf_Internal_Note *note)
/* On the Alpha, SPARC (32-bit and 64-bit), PT_GETREGS == mach+0 and
PT_GETFPREGS == mach+2. */
+ case bfd_arch_aarch64:
case bfd_arch_alpha:
case bfd_arch_sparc:
switch (note->type)