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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 77cdd65..23acac2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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 |