Avoid unused variable warning on Linux/x86-64.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Apr 2010 13:18:13 +0000 (13:18 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Apr 2010 13:18:13 +0000 (13:18 +0000)
2010-04-12  H.J. Lu  <hongjiu.lu@intel.com>

* linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused
variable warning on Linux/x86-64.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-x86-low.c

index 86caf1e7639b253686c485d2790b1ad6b6fbac75..87bf6956e1a76da5f5e2181ef428c248df1ba563 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused
+       variable warning on Linux/x86-64.
+
 2010-04-11  Pedro Alves  <pedro@codesourcery.com>
 
        GDBserver disconnected tracing support.
index d79713f30ae3f8cb071b0265ef768143a7972f10..1c282791ba32b8d1d9d2d5860af36fe715838b73 100644 (file)
@@ -834,7 +834,7 @@ x86_linux_update_xmltarget (void)
   struct regset_info *regset;
   static unsigned long long xcr0;
   static int have_ptrace_getregset = -1;
-#ifdef HAVE_PTRACE_GETFPXREGS
+#if !defined(__x86_64__) && defined(HAVE_PTRACE_GETFPXREGS)
   static int have_ptrace_getfpxregs = -1;
 #endif
 
This page took 0.029836 seconds and 4 git commands to generate.