forked from Imagelibrary/binutils-gdb
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:
@@ -55,7 +55,7 @@ inferior_event_handler (enum inferior_event_type event_type)
|
||||
/* Do all continuations associated with the whole inferior (not
|
||||
a particular thread). */
|
||||
if (inferior_ptid != null_ptid)
|
||||
do_all_inferior_continuations (0);
|
||||
do_all_inferior_continuations ();
|
||||
|
||||
/* When running a command list (from a user command, say), these
|
||||
are only run when the command list is all done. */
|
||||
|
||||
Reference in New Issue
Block a user