diff options
author | Nick Clifton <nickc@redhat.com> | 2011-04-15 11:14:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-04-15 11:14:01 +0000 |
commit | e21e5835b606f4ef1eb42e99bf26a3e43cdf034a (patch) | |
tree | 484348d53366660bc3f14ee1e263d9e06ba47feb /include | |
parent | 9c68f58e48030d125e085999b3778c22534e7bed (diff) | |
download | gdb-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')
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 752730e..a43b34d 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2011-04-15 Sergio Durigan Junior <sergiodj@redhat.com> + + * common.h (NT_STAPSDT): New define. + 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> * tic6x.h (R_C6000_JUMP_SPLOT, R_C6000_EHTYPE, 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". */ |