aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-11-08 06:06:35 +0000
committerJeff Law <law@redhat.com>1994-11-08 06:06:35 +0000
commit73a250722af3ea92913a6e59cb44ba85ad232f59 (patch)
tree69dd1b8fcf465f4be3b76faf708b07240fe89852 /gdb/hppa-tdep.c
parentbfaef242b573a6018151f9a8f899fcadcea22203 (diff)
downloadgdb-73a250722af3ea92913a6e59cb44ba85ad232f59.zip
gdb-73a250722af3ea92913a6e59cb44ba85ad232f59.tar.gz
gdb-73a250722af3ea92913a6e59cb44ba85ad232f59.tar.bz2
* hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
stub unwind descriptors too.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index dcc03b2..8832f9e 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -446,6 +446,7 @@ read_unwind_info (objfile)
Stuff away the stub type into "reserved" fields. */
ui->table[index].region_start = bfd_get_32 (objfile->obfd,
(bfd_byte *) buf);
+ ui->table[index].region_start += text_offset;
buf += 4;
ui->table[index].stub_type = bfd_get_8 (objfile->obfd,
(bfd_byte *) buf);