* hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
authorJeff Law <law@redhat.com>
Tue, 8 Nov 1994 06:06:35 +0000 (06:06 +0000)
committerJeff Law <law@redhat.com>
Tue, 8 Nov 1994 06:06:35 +0000 (06:06 +0000)
stub unwind descriptors too.

gdb/hppa-tdep.c

index dcc03b234ef8625dd2d7048ff5a13024a7bdb25b..8832f9e4f0d6940ff46b2305cecb95249012e4ed 100644 (file)
@@ -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);