diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-09-16 19:09:43 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-09-16 19:09:43 +0000 |
commit | fbf06824138b9819662569ea6d136e70c00ec9b1 (patch) | |
tree | 765077511d5f9f60080344d2800395b095e50de2 | |
parent | 34a0bc90f4c515e896e002d07c754f114247635c (diff) | |
download | gdb-fbf06824138b9819662569ea6d136e70c00ec9b1.zip gdb-fbf06824138b9819662569ea6d136e70c00ec9b1.tar.gz gdb-fbf06824138b9819662569ea6d136e70c00ec9b1.tar.bz2 |
[Ada] Remove `from_tty' parameter from ada-tasks.c:info_task
This parameter is unused, and probably will never be useful.
gdb/ChangeLog:
* ada-tasks.c (info_task): Delete parameter `from_tty'.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ada-tasks.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e774b03..9b3702f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2011-09-16 Joel Brobecker <brobecker@adacore.com> + * ada-tasks.c (info_task): Delete parameter `from_tty'. + +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> diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index 2bad559..e2020f7 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -998,7 +998,7 @@ info_tasks (struct inferior *inf) for the given inferior (INF). */ static void -info_task (char *taskno_str, int from_tty, struct inferior *inf) +info_task (char *taskno_str, struct inferior *inf) { const int taskno = value_as_long (parse_and_eval (taskno_str)); struct ada_task_info *task_info; @@ -1096,7 +1096,7 @@ info_tasks_command (char *arg, int from_tty) if (arg == NULL || *arg == '\0') info_tasks (current_inferior ()); else - info_task (arg, from_tty, current_inferior ()); + info_task (arg, current_inferior ()); } /* Print a message telling the user id of the current task. |