* i386-linux-tdep.c (i386_linux_regset_sections): Size of the
authorMark Kettenis <kettenis@gnu.org>
Tue, 20 Apr 2010 19:39:50 +0000 (19:39 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 20 Apr 2010 19:39:50 +0000 (19:39 +0000)
general-purpose register set should be 68 instead of 144.
(i386_linux_sse_regset_sections): Likewise.
(i386_linux_avx_regset_sections): Likewise.

gdb/ChangeLog
gdb/i386-linux-tdep.c

index d6de1e4..8ac2399 100644 (file)
@@ -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>
 
index 5952153..4e3408c 100644 (file)
 /* 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 }
 };