aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 30486be..52a7d99 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -575,6 +575,7 @@ print_frame_info_base (fi, level, source, args)
}
current_source_line = max (sal.line - lines_to_list / 2, 1);
}
+
if (source != 0)
set_default_breakpoint (1, fi->pc, sal.symtab, sal.line);