aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-tasks.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-08-30 15:28:40 +0000
committerPedro Alves <palves@redhat.com>2013-08-30 15:28:40 +0000
commitd1da058760ac77883ad204288ce7b64076652157 (patch)
tree7a3cea41e5cf75258d8c17331e00c3400d43121e /gdb/ada-tasks.c
parentadfd8245d869ce54145ad48f5a1334a8f34d63cf (diff)
downloadgdb-d1da058760ac77883ad204288ce7b64076652157.zip
gdb-d1da058760ac77883ad204288ce7b64076652157.tar.gz
gdb-d1da058760ac77883ad204288ce7b64076652157.tar.bz2
ada-tasks.c: write SRC_AND_LOC instead '1'.
1 is SRC_AND_LOC. 2013-08-30 Pedro Alves <palves@redhat.com> * ada-tasks.c (task_command_1): Write SRC_AND_LOC instead '1'.
Diffstat (limited to 'gdb/ada-tasks.c')
-rw-r--r--gdb/ada-tasks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index c5c7491..3aa6667 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -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);
}