diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-02-14 19:05:52 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-02-14 19:05:52 +0000 |
commit | 8f05cde5d3c5911f92f2fcb60c461cd8a719387f (patch) | |
tree | 160868062d95722255569e2203ff9a185ea78337 /gdb/dwarf2read.c | |
parent | 021e7609055e94c3b2f0ac757c9640d393ed2000 (diff) | |
download | gdb-8f05cde5d3c5911f92f2fcb60c461cd8a719387f.zip gdb-8f05cde5d3c5911f92f2fcb60c461cd8a719387f.tar.gz gdb-8f05cde5d3c5911f92f2fcb60c461cd8a719387f.tar.bz2 |
* dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index dbd6460..3b067d5 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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 |