Fix "infor reg sse" on Linux/x86-64.
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 10 Feb 2010 21:11:42 +0000 (21:11 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 10 Feb 2010 21:11:42 +0000 (21:11 +0000)
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.

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

index c5bf4f9ca1f2f56f91c9735bda715b3e04d80dff..43e716a25cdddd09b95f313edb216e625398a77a 100644 (file)
@@ -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.
index 01cc1cec024a7e05fddfade1de49c5caa22650c1..c28eef72f6b8dcd25f76d3a38d9a50728a776ade 100644 (file)
@@ -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.  */