summaryrefslogtreecommitdiff
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
commit4d7680cc7c331037e9c827b2328c5cbd925ebed1 (patch)
tree3a7017d4f301ca5ee0c3729bafeef68566f921e0
parentdd5cd08a541618884899fd1fc7c66dea1533a807 (diff)
downloadgdb-4d7680cc7c331037e9c827b2328c5cbd925ebed1.tar.gz
Fix typo introduced with previous delta.
-rw-r--r--bfd/dwarf2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 5aadaddf2b1..7c000b9890e 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);