aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-09-24 07:11:16 +0000
committerNick Clifton <nickc@redhat.com>2002-09-24 07:11:16 +0000
commita2ce5bdc13a05b29bfd1350543ccb6c040b8685d (patch)
tree288425a06dd499ec4a5fc8b99a4f59064c47b623 /bfd/dwarf2.c
parent06143382c6e7a69898523d5c68bedefe5b22cac4 (diff)
downloadgdb-a2ce5bdc13a05b29bfd1350543ccb6c040b8685d.zip
gdb-a2ce5bdc13a05b29bfd1350543ccb6c040b8685d.tar.gz
gdb-a2ce5bdc13a05b29bfd1350543ccb6c040b8685d.tar.bz2
Fix typo introduced with previous delta.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 5aadadd..7c000b9 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -1133,12 +1133,11 @@ decode_line_info (unit, stash)
end_sequence = 1;
add_line_info (table, address, filename, line, column,
end_sequence);
- arange_add (unit, low_pc, high_pc);
if (low_pc == 0 || address < low_pc)
low_pc = address;
if (address > high_pc)
high_pc = address;
- arange_add (unit, low_pc, address);
+ arange_add (unit, low_pc, high_pc);
break;
case DW_LNE_set_address:
address = read_address (unit, line_ptr);