diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index e5b3df0fbd..54d4b6a76e 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -3190,9 +3190,11 @@ 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); + { + /* 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 || sh.st == stStatic || sh.st == stEnd)