From: Jeff Law Date: Tue, 8 Nov 1994 06:06:35 +0000 (+0000) Subject: * hppa-tdep.c (read_unwind_info): Use "text_offset" for linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73a250722af3ea92913a6e59cb44ba85ad232f59;p=binutils-gdb.git * hppa-tdep.c (read_unwind_info): Use "text_offset" for linker stub unwind descriptors too. --- diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index dcc03b234ef..8832f9e4f0d 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);