mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
[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'.
This commit is contained in:
parent
34a0bc90f4
commit
fbf0682413
@ -1,3 +1,7 @@
|
||||
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'.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user