* dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
This commit is contained in:
parent
021e760905
commit
8f05cde5d3
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue