diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-02-02 12:37:40 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-02-02 12:37:40 +0000 |
commit | 4339cae0bb39a38117d51fc52066e659dccaee29 (patch) | |
tree | 46d30d4f07656095d9d0d9f07e837d99da10c239 /binutils | |
parent | 0718675c768e5a5d2fc96a6a4e70cd52fe148c16 (diff) | |
download | gdb-4339cae0bb39a38117d51fc52066e659dccaee29.zip gdb-4339cae0bb39a38117d51fc52066e659dccaee29.tar.gz gdb-4339cae0bb39a38117d51fc52066e659dccaee29.tar.bz2 |
Add NT_386_XSTATE.
bfd/
2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elfcore_write_xstatereg): New.
* elf.c (elfcore_grok_xstatereg): New.
(elfcore_write_xstatereg): Likewise.
(elfcore_grok_note): Handle NT_X86_XSTATE.
(elfcore_write_register_note): Handle .reg-xstate section.
binutils/
2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (get_note_type): Handle NT_X86_XSTATE.
include/elf/
2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
* common.h (NT_386_XSTATE): New.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 719192b..ede4c6d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2010-02-02 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (get_note_type): Handle NT_X86_XSTATE. + 2010-02-01 Nathan Sidwell <nathan@codesourcery.com> * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding diff --git a/binutils/readelf.c b/binutils/readelf.c index b9de73a..34dbfac 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -10415,6 +10415,8 @@ get_note_type (unsigned e_type) return _("NT_PPC_VMX (ppc Altivec registers)"); case NT_PPC_VSX: return _("NT_PPC_VSX (ppc VSX registers)"); + case NT_X86_XSTATE: + return _("NT_X86_XSTATE (x86 XSAVE extended state)"); case NT_S390_HIGH_GPRS: return _("NT_S390_HIGH_GPRS (s390 upper register halves)"); case NT_PSTATUS: |