aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-07-23 07:02:03 +0000
committerYao Qi <yao@codesourcery.com>2013-07-23 07:02:03 +0000
commit6df81a635e973ad35889497d8e698e562bff1036 (patch)
treebb71c7b846e7f2f963f9305a28e8290f2ef6a540 /gdb/amd64-linux-tdep.c
parent365156ada142ed158af533d83ed88521e06439d7 (diff)
downloadgdb-6df81a635e973ad35889497d8e698e562bff1036.zip
gdb-6df81a635e973ad35889497d8e698e562bff1036.tar.gz
gdb-6df81a635e973ad35889497d8e698e562bff1036.tar.bz2
gdb/
* i386-tdep.c (i386_in_stack_tramp_p): Remove unused parameter 'gdbarch'. (i386_stack_tramp_frame_sniffer): Caller update. * i386-linux-tdep.c (i386_linux_core_read_xcr0): Remove parameter 'gdbarch' and 'target'. (i386_linux_core_read_description): Caller update. * amd64-linux-tdep.c (amd64_linux_core_read_description): Likewise. * i386-linux-tdep.h (i386_linux_core_read_xcr0): Update declaration.
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
-rw-r--r--gdb/amd64-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 88c291d..4f67762 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -1286,7 +1286,7 @@ amd64_linux_core_read_description (struct gdbarch *gdbarch,
bfd *abfd)
{
/* Linux/x86-64. */
- uint64_t xcr0 = i386_linux_core_read_xcr0 (gdbarch, target, abfd);
+ uint64_t xcr0 = i386_linux_core_read_xcr0 (abfd);
switch ((xcr0 & I386_XSTATE_AVX_MASK))
{
case I386_XSTATE_AVX_MASK: