From 1789d5d57997dc7bd2cbd8c8d44e87af3815f8b5 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 25 Jul 1995 20:16:48 +0000 Subject: * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab line numbers using the psymtab's section offsets. PR 7514 --- gdb/mdebugread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/mdebugread.c') 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 -- cgit v1.1