diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mdebugread.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9e5baa7..592986e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 25 11:43:44 1995 Stan Shebs <shebs@andros.cygnus.com> + + * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab + line numbers using the psymtab's section offsets. + Tue Jul 25 10:43:27 1995 Michael Meissner <meissner@tiktok.cygnus.com> * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 4676ba4..e5b3df0 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -3191,6 +3191,7 @@ psymtab_to_symtab_1 (pst, filename) } else /* Handle encoded stab line number. */ + valu += ANOFFSET (pst->section_offsets, SECT_OFF_TEXT); record_line (current_subfile, sh.index, valu); } else if (sh.st == stProc || sh.st == stStaticProc |