This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] cleanup: Wunused - amd64


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]