aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/amd64-linux-tdep.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c5bf4f9..43e716a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gdb/11265
+ * amd64-linux-tdep.c (amd64_linux_register_reggroup_p): Call
+ i386_register_reggroup_p instead of default_register_reggroup_p.
+
2010-02-10 Tom Tromey <tromey@redhat.com>
* parser-defs.h (parser_debug): Declare.
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 01cc1ce..c28eef7 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -262,7 +262,7 @@ amd64_linux_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
return (group == system_reggroup
|| group == save_reggroup
|| group == restore_reggroup);
- return default_register_reggroup_p (gdbarch, regnum, group);
+ return i386_register_reggroup_p (gdbarch, regnum, group);
}
/* Set the program counter for process PTID to PC. */