Extract string-printing out of ada_val_print_array
[deliverable/binutils-gdb.git] / gdb / ada-tasks.c
index c5c74910b1fcce465a514579e3e36910cbe062b1..53a29e143f296715ccaa695825d895d336caec2e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2013 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1310,7 +1310,8 @@ task_command_1 (char *taskno_str, int from_tty, struct inferior *inf)
   ada_find_printable_frame (get_selected_frame (NULL));
   printf_filtered (_("[Switching to task %d]\n"), taskno);
   print_stack_frame (get_selected_frame (NULL),
-                     frame_relative_level (get_selected_frame (NULL)), 1);
+                     frame_relative_level (get_selected_frame (NULL)),
+                    SRC_AND_LOC, 1);
 }
 
 
This page took 0.024255 seconds and 4 git commands to generate.