From: Joel Brobecker Date: Fri, 16 Sep 2011 19:09:34 +0000 (+0000) Subject: [Ada] Remove `from_tty' parameter from ada-tasks.c:info_tasks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34a0bc90f4c515e896e002d07c754f114247635c;p=binutils-gdb.git [Ada] Remove `from_tty' parameter from ada-tasks.c:info_tasks This parameter is unused, and probably will never be useful. gdb/ChangeLog: * ada-tasks.c (info_tasks): Delete parameter `from_tty'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fa48c018408..e774b0319c4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-09-16 Joel Brobecker + + * ada-tasks.c (info_tasks): Delete parameter `from_tty'. + 2011-09-16 Joel Brobecker * ada-lang.h (ada_build_task_list): Remove parameter diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index 575080a4131..2bad5595dad 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -982,7 +982,7 @@ short_task_info (int taskno, struct inferior *inf) /* FIXME: Shouldn't we be using ui_out??? */ static void -info_tasks (int from_tty, struct inferior *inf) +info_tasks (struct inferior *inf) { struct ada_tasks_inferior_data *data = get_ada_tasks_inferior_data (inf); int taskno; @@ -1094,7 +1094,7 @@ info_tasks_command (char *arg, int from_tty) } if (arg == NULL || *arg == '\0') - info_tasks (from_tty, current_inferior ()); + info_tasks (current_inferior ()); else info_task (arg, from_tty, current_inferior ()); }