aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2013-01-08 18:09:12 +0000
committerYufeng Zhang <yufeng.zhang@arm.com>2013-01-08 18:09:12 +0000
commit652451f8f20a6783d60ed921f9d8479f8e91a04e (patch)
treeb55c2592a3ac70b0f32b0254dfa1770d323d1f84 /include/elf
parent69276d02644f403e5344c04fc72f867aee3b291a (diff)
downloadgdb-652451f8f20a6783d60ed921f9d8479f8e91a04e.zip
gdb-652451f8f20a6783d60ed921f9d8479f8e91a04e.tar.gz
gdb-652451f8f20a6783d60ed921f9d8479f8e91a04e.tar.bz2
include/elf/
2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> * common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro definitions. bfd/ 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. (elfcore_write_aarch_hw_break): Likewise. (elfcore_write_aarch_hw_watch): Likewise. * elf.c (elfcore_grok_aarch_tls): New function. (elfcore_grok_aarch_hw_break): Likewise. (elfcore_grok_aarch_hw_watch): Likewise. (elfcore_grok_note): Call the new functions to handle the corresponding notes. (elfcore_write_aarch_tls): New function. (elfcore_write_aarch_hw_break): Likewise. (elfcore_write_aarch_hw_watch): Likewise. (elfcore_write_register_note): Call the new functions to handle the corresponding pseudo sections. binutils/ 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK and NT_ARM_HW_WATCH.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/common.h10
2 files changed, 14 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index e49c254..8cb1cb8 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
+
+ * common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro
+ definitions.
+
2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
* mips.h: Add MIPS machine variant number for r5900 which is
diff --git a/include/elf/common.h b/include/elf/common.h
index 4399d02..ca36935 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1,6 +1,7 @@
/* ELF support for BFD.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
+ 2013
Free Software Foundation, Inc.
Written by Fred Fish @ Cygnus Support, from information published
@@ -552,6 +553,13 @@
#define NT_S390_SYSTEM_CALL 0x307 /* S390 system call restart data */
/* note name must be "LINUX". */
#define NT_ARM_VFP 0x400 /* ARM VFP registers */
+/* The following definitions should really use NT_AARCH_..., but defined
+ this way for compatibility with Linux. */
+#define NT_ARM_TLS 0x401 /* AArch TLS registers */
+ /* note name must be "LINUX". */
+#define NT_ARM_HW_BREAK 0x402 /* AArch hardware breakpoint registers */
+ /* note name must be "LINUX". */
+#define NT_ARM_HW_WATCH 0x403 /* AArch hardware watchpoint registers */
/* note name must be "LINUX". */
#define NT_SIGINFO 0x53494749 /* Fields of siginfo_t. */
#define NT_FILE 0x46494c45 /* Description of mapped files. */