aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-07-06 16:25:21 +0100
committerNick Clifton <nickc@redhat.com>2018-07-06 16:25:21 +0100
commitad1cc4e492e51ff334df81b5e8610f91b50e373a (patch)
tree5dc97be258d2b436ef54da07169da413d25b2229 /bfd/elf-bfd.h
parentf311ba7ed84d66ae2cd77bd969747d7ab959d866 (diff)
downloadgdb-ad1cc4e492e51ff334df81b5e8610f91b50e373a.zip
gdb-ad1cc4e492e51ff334df81b5e8610f91b50e373a.tar.gz
gdb-ad1cc4e492e51ff334df81b5e8610f91b50e373a.tar.bz2
Add checks for the NT_ARM_SVE section in a core file.
The NT_ARM_SVE section is documented here: https://github.com/torvalds/linux/blob/master/Documentation/arm64/sve.txt * A NT_ARM_SVE note will be added to each coredump for each thread of the dumped process. The contents will be equivalent to the data that would have been read if a PTRACE_GETREGSET of NT_ARM_SVE were executed for each thread when the coredump was generated. * elf.c (elfcore_grok_aarch_sve): New function. (elfcore_grok_note): Check for Aarch64 SVE. (elfcore_write_aarch_sve): New function. (elfcore_write_register_note): Check for Aarch64 SVE. * elf-bfd.h(elfcore_grok_aarch_sve): New declaration.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index e8eac7b..903dd9a 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2602,6 +2602,8 @@ extern char *elfcore_write_aarch_hw_break
(bfd *, char *, int *, const void *, int);
extern char *elfcore_write_aarch_hw_watch
(bfd *, char *, int *, const void *, int);
+extern char *elfcore_write_aarch_sve
+ (bfd *, char *, int *, const void *, int);
extern char *elfcore_write_lwpstatus
(bfd *, char *, int *, long, int, const void *);
extern char *elfcore_write_register_note