From e0e0e543d53f0769de8c88cd4b580496c9efa66f Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 20 Apr 2010 19:39:50 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 7 +++++++ gdb/i386-linux-tdep.c | 6 +++--- 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 + + * 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 Nathan Sidwell 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 } }; -- 2.7.4