* dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.

This commit is contained in:
Daniel Jacobowitz 2003-02-14 19:05:52 +00:00
parent 021e760905
commit 8f05cde5d3
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-02-14 Daniel Jacobowitz <drow@mvista.com>
* dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2003-02-14 Andrew Cagney <ac131313@redhat.com>
* main.c (tui_version): Delete variable.

View File

@ -2195,6 +2195,9 @@ dwarf2_get_pc_bounds (struct die_info *die, CORE_ADDR *lowpc,
return 0;
}
range_beginning += base;
range_end += base;
/* FIXME: This is recording everything as a low-high
segment of consecutive addresses. We should have a
data structure for discontiguous block ranges