From: H.J. Lu Date: Mon, 12 Apr 2010 13:18:13 +0000 (+0000) Subject: Avoid unused variable warning on Linux/x86-64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59e0401339359eb4a6d9fa51eb8c772ebae5bec6;p=binutils-gdb.git Avoid unused variable warning on Linux/x86-64. 2010-04-12 H.J. Lu * linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused variable warning on Linux/x86-64. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 86caf1e7639..87bf6956e1a 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2010-04-12 H.J. Lu + + * linux-x86-low.c (x86_linux_update_xmltarget): Avoid unused + variable warning on Linux/x86-64. + 2010-04-11 Pedro Alves GDBserver disconnected tracing support. diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index d79713f30ae..1c282791ba3 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