PR gdb/15911: "info threads" changes the default source and line (for "break", "list")
[deliverable/binutils-gdb.git] / gdb / linux-fork.c
index 4100cb13f66e2274d52674b2288811b46cca974b..3774a7fdb5fa1f5ce2812a71a27ff16cd5f1a4a8 100644 (file)
@@ -731,7 +731,7 @@ linux_fork_context (struct fork_info *newfp, int from_tty)
   printf_filtered (_("Switching to %s\n"),
                   target_pid_to_str (inferior_ptid));
 
-  print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC);
+  print_stack_frame (get_selected_frame (NULL), 1, SRC_AND_LOC, 1);
 }
 
 /* Switch inferior process (checkpoint) context, by checkpoint id.  */
This page took 0.025525 seconds and 4 git commands to generate.