Properly read i386 coredump.
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 21 Apr 2010 20:22:20 +0000 (20:22 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 21 Apr 2010 20:22:20 +0000 (20:22 +0000)
commitf335d1b3959656aa939d41782ae30c4364d8560c
tree6190f9dc9ecc3b8a7f21619630f574563e4c3f14
parenta9789a6b9df7e25448473dc45c47b64c980f04b5
Properly read i386 coredump.

2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>

PR corefiles/11523
* amd64-linux-tdep.c (amd64_linux_core_read_description): Check
XCR0 first.

* i386-linux-tdep.c (i386_linux_core_read_xcr0): Return 0 if
there is no .reg-xstate section.
(i386_linux_core_read_description): Check XCR0 first.
gdb/ChangeLog
gdb/amd64-linux-tdep.c
gdb/i386-linux-tdep.c