This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] cleanup: Wunused - amd64
- From: Tom Tromey <tromey at redhat dot com>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 31 Jan 2013 09:09:53 -0700
- Subject: Re: [patch] cleanup: Wunused - amd64
- References: <5109E3D3.90207@qnx.com>
>>>>> "Aleksandar" == Aleksandar Ristovski <aristovski@qnx.com> writes:
Aleksandar> * amd64-tdep.c (fixup_riprel): Remove unused
Aleksandar> BYTE_ORDER, DISP.
This one isn't obvious to me.
Aleksandar> /* Compute the rip-relative address. */
Aleksandar> - disp = extract_signed_integer (insn, sizeof (int32_t), byte_order);
Is it really the case that this code does not need to use 'disp'?
Or is it a bug that it doesn't use it?
Tom