aboutsummaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-12-18 16:21:51 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-12-18 16:21:51 +0000
commit0675e188654a7092145ac3b5933ecb6d0cf5c6a3 (patch)
treea2744bd0a329565897b5e2bcd97aaa6081667859 /include/elf/common.h
parent06ca79620f5d03763c1d9109a12da077939fb3e8 (diff)
downloadgdb-0675e188654a7092145ac3b5933ecb6d0cf5c6a3.zip
gdb-0675e188654a7092145ac3b5933ecb6d0cf5c6a3.tar.gz
gdb-0675e188654a7092145ac3b5933ecb6d0cf5c6a3.tar.bz2
include/elf/
* common.h (NT_S390_HIGH_GPRS): Define. bfd/ * elf.c (elfcore_grok_s390_high_gprs): New function. (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. (elfcore_write_s390_high_gprs): New function. (elfcore_write_register_note): Call it. binutils/ * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index ff6aed2..361703d 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -510,6 +510,8 @@
/* note name must be "LINUX". */
#define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
/* note name must be "LINUX". */
+#define NT_S390_HIGH_GPRS 0x300 /* S/390 upper halves of GPRs */
+ /* note name must be "LINUX". */
/* Note segments for core files on dir-style procfs systems. */