[PATCH 3/6] gdb/continuations: remove the 'err' from 'do_all_inferior_continuations'

Tom Tromey tom@tromey.com
Wed Apr 21 19:29:33 GMT 2021


>>>>> ">" == Tankut Baris Aktemur via Gdb-patches <gdb-patches@sourceware.org> writes:

>> 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-21  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.

Looks good.  Thank you.

Tom


More information about the Gdb-patches mailing list