From d1da058760ac77883ad204288ce7b64076652157 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 30 Aug 2013 15:28:40 +0000 Subject: [PATCH] ada-tasks.c: write SRC_AND_LOC instead '1'. 1 is SRC_AND_LOC. 2013-08-30 Pedro Alves * ada-tasks.c (task_command_1): Write SRC_AND_LOC instead '1'. --- gdb/ChangeLog | 4 ++++ gdb/ada-tasks.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9a616fdf05..0890b2f6d93 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-08-30 Pedro Alves + + * ada-tasks.c (task_command_1): Write SRC_AND_LOC instead '1'. + 2013-08-30 Pedro Alves * frame.h (show_and_print_stack_frame): Delete declaration. diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index c5c74910b1f..3aa66675a46 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); } -- 2.30.2