aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/mdebugread.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index e5b3df0..54d4b6a 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)