gdb/continuations: remove the 'err' from 'do_all_inferior_continuations'

The 'err' parameter of 'do_all_inferior_continuations' is effectively
unused.  There is only one place where the function is called, and
there the argument is a literal 0.  So, remove the parameter.

gdb/ChangeLog:
2021-04-22  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* continuations.h (do_all_inferior_continuations): Remove the 'err'
	parameter.  Update the references below.
	* continuations.c (do_my_continuations_1)
	(do_my_continuations)
	(do_all_inferior_continuations): Update.
	* inf-loop.c (inferior_event_handler): Update.
	* infcmd.c (attach_command_continuation): Update.
This commit is contained in:
Tankut Baris Aktemur
2021-04-22 17:22:38 +02:00
parent 6fee5eee88
commit 35682f0a64
5 changed files with 21 additions and 20 deletions

View File

@@ -2547,14 +2547,11 @@ struct attach_command_continuation_args
};
static void
attach_command_continuation (void *args, int err)
attach_command_continuation (void *args)
{
struct attach_command_continuation_args *a
= (struct attach_command_continuation_args *) args;
if (err)
return;
attach_post_wait (a->from_tty, a->mode);
}