[Ada] Remove `from_tty' parameter from ada-tasks.c:info_tasks
authorJoel Brobecker <brobecker@gnat.com>
Fri, 16 Sep 2011 19:09:34 +0000 (19:09 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 16 Sep 2011 19:09:34 +0000 (19:09 +0000)
This parameter is unused, and probably will never be useful.

gdb/ChangeLog:

        * ada-tasks.c (info_tasks): Delete parameter `from_tty'.

gdb/ChangeLog
gdb/ada-tasks.c

index fa48c018408c36bb9afe9662606c3ea994d13fb4..e774b0319c4dd8f76394bd6bdc82d231bb2ddfce 100644 (file)
@@ -1,3 +1,7 @@
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (info_tasks): Delete parameter `from_tty'.
+
 2011-09-16  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.h (ada_build_task_list): Remove parameter
index 575080a4131449701de0a96324b1c11b00a7bd36..2bad5595dad9c452987189a73a02d2cce202cacb 100644 (file)
@@ -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 ());
 }