aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-windows-tdep.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2017-06-13 15:20:31 +0200
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2017-06-13 15:20:31 +0200
commitf236533e3c6a2693bea879b2a4d24d1229864ac9 (patch)
treee49175d8119a36e37f18924883e3cad1e6909bce /gdb/amd64-windows-tdep.c
parent65d84b76164dc8ec1a1f0f0e0fd41667065ffd4e (diff)
downloadgdb-f236533e3c6a2693bea879b2a4d24d1229864ac9.zip
gdb-f236533e3c6a2693bea879b2a4d24d1229864ac9.tar.gz
gdb-f236533e3c6a2693bea879b2a4d24d1229864ac9.tar.bz2
read/write_pieced_value: Remove unnecessary variable copies
In read_pieced_value's main loop, the variables `dest_offset_bits' and `source_offset_bits' are basically just copies of `offset' and `bits_to_skip', respectively. In write_pieced_value the copies are reversed. This is not very helpful when trying to keep the logic between these functions in sync. Since the copies are unnecessary, this patch just removes them. gdb/ChangeLog: * dwarf2loc.c (read_pieced_value): Remove unnecessary variables dest_offset_bits and source_offset_bits. (write_pieced_value): Likewise.
Diffstat (limited to 'gdb/amd64-windows-tdep.c')
0 files changed, 0 insertions, 0 deletions