aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2010-04-20 19:39:50 +0000
committerMark Kettenis <kettenis@gnu.org>2010-04-20 19:39:50 +0000
commite0e0e543d53f0769de8c88cd4b580496c9efa66f (patch)
tree42207d006a5e429910fc64f233410e0550e20158 /gdb
parent08922a10505b89e293906fbbd94d403b29f7aed9 (diff)
downloadgdb-e0e0e543d53f0769de8c88cd4b580496c9efa66f.zip
gdb-e0e0e543d53f0769de8c88cd4b580496c9efa66f.tar.gz
gdb-e0e0e543d53f0769de8c88cd4b580496c9efa66f.tar.bz2
* i386-linux-tdep.c (i386_linux_regset_sections): Size of the
general-purpose register set should be 68 instead of 144. (i386_linux_sse_regset_sections): Likewise. (i386_linux_avx_regset_sections): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/i386-linux-tdep.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d6de1e4..8ac2399 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-20 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-tdep.c (i386_linux_regset_sections): Size of the
+ general-purpose register set should be 68 instead of 144.
+ (i386_linux_sse_regset_sections): Likewise.
+ (i386_linux_avx_regset_sections): Likewise.
+
2010-04-20 Stan Shebs <stan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 5952153..4e3408c 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -56,21 +56,21 @@
/* Supported register note sections. */
static struct core_regset_section i386_linux_regset_sections[] =
{
- { ".reg", 144, "general-purpose" },
+ { ".reg", 68, "general-purpose" },
{ ".reg2", 108, "floating-point" },
{ NULL, 0 }
};
static struct core_regset_section i386_linux_sse_regset_sections[] =
{
- { ".reg", 144, "general-purpose" },
+ { ".reg", 68, "general-purpose" },
{ ".reg-xfp", 512, "extended floating-point" },
{ NULL, 0 }
};
static struct core_regset_section i386_linux_avx_regset_sections[] =
{
- { ".reg", 144, "general-purpose" },
+ { ".reg", 68, "general-purpose" },
{ ".reg-xstate", I386_XSTATE_MAX_SIZE, "XSAVE extended state" },
{ NULL, 0 }
};