aboutsummaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-04-15 11:14:01 +0000
committerNick Clifton <nickc@redhat.com>2011-04-15 11:14:01 +0000
commite21e5835b606f4ef1eb42e99bf26a3e43cdf034a (patch)
tree484348d53366660bc3f14ee1e263d9e06ba47feb /include/elf/common.h
parent9c68f58e48030d125e085999b3778c22534e7bed (diff)
downloadgdb-e21e5835b606f4ef1eb42e99bf26a3e43cdf034a.zip
gdb-e21e5835b606f4ef1eb42e99bf26a3e43cdf034a.tar.gz
gdb-e21e5835b606f4ef1eb42e99bf26a3e43cdf034a.tar.bz2
* elf-bfd.h (struct sdt_note): New struct.
(struct elf_obj_tdata) <sdt_note_head>: New field. * elf.c (elfobj_grok_stapsdt_note_1): New function. (elfobj_grok_stapsdt_note): Likewise. (elf_parse_notes): Added code to treat SystemTap note sections. * common.h (NT_STAPSDT): New define.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 52ce9a5..d48c32c 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1,6 +1,6 @@
/* 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
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Written by Fred Fish @ Cygnus Support, from information published
@@ -548,6 +548,8 @@
#define NT_LWPSINFO 17 /* Has a struct lwpsinfo_t */
#define NT_WIN32PSTATUS 18 /* Has a struct win32_pstatus */
+/* Note segment for SystemTap probes. */
+#define NT_STAPSDT 3
/* Note segments for core files on NetBSD systems. Note name
must start with "NetBSD-CORE". */