This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tdep/17233] New: possible bug in amd64-tdep.c:fixup_riprel
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 07 Aug 2014 15:36:02 +0000
- Subject: [Bug tdep/17233] New: possible bug in amd64-tdep.c:fixup_riprel
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17233
Bug ID: 17233
Summary: possible bug in amd64-tdep.c:fixup_riprel
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: tdep
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
I tried -Wunused-but-set-variable and it reported
some code in amd64-tdep.c:fixup_riprel:
int32_t disp;
[...]
/* Compute the rip-relative address. */
disp = extract_signed_integer (insn, sizeof (int32_t), byte_order);
"disp" is never used.
It seems that this could be a real bug.
However if not it would be clearer to remove the unused
variable and add a comment explaining why there's no need
to do this.
--
You are receiving this mail because:
You are on the CC list for the bug.