diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-04-12 13:18:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-04-12 13:18:13 +0000 |
commit | 59e0401339359eb4a6d9fa51eb8c772ebae5bec6 (patch) | |
tree | 754d2c3683dc993d4f4cd8b909fefa9b33998f2b /gdb/gdbserver | |
parent | fc8eb08a3af3413effa69e39deaf6293e25e56d5 (diff) | |
download | gdb-59e0401339359eb4a6d9fa51eb8c772ebae5bec6.zip gdb-59e0401339359eb4a6d9fa51eb8c772ebae5bec6.tar.gz gdb-59e0401339359eb4a6d9fa51eb8c772ebae5bec6.tar.bz2 |
Avoid unused variable warning on Linux/x86-64.
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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-x86-low.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 86caf1e..87bf695 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index d79713f..1c28279 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -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 |