summaryrefslogtreecommitdiff
path: root/gdb/ada-tasks.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-09-16 19:09:34 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-09-16 19:09:34 +0000
commit1388fdd805d38e48b54fa87cf1218658ba7ef932 (patch)
treeb79ab1f6f3cac05d82e4624e434f8a6c09b819a2 /gdb/ada-tasks.c
parent039d4214f0b345c748a79caeca21e71207f1e3eb (diff)
downloadgdb-1388fdd805d38e48b54fa87cf1218658ba7ef932.tar.gz
[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'.
Diffstat (limited to 'gdb/ada-tasks.c')
-rw-r--r--gdb/ada-tasks.c4
1 files changed, 2 insertions, 2 deletions
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 ());
}