[PATCH] gdb: remove arguments from inferior_created observable

Simon Marchi simon.marchi@polymtl.ca
Fri Oct 2 15:33:13 GMT 2020


On 2020-10-02 5:49 a.m., Andrew Burgess wrote:
> * Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> [2020-10-01 22:13:25 -0400]:
> 
>> I noticed that non of the listeners of the inferior_created observable
>> used either of the arguments.  Remove them.  This in turn allows
>> removing the target parameter of post_create_inferior.
>>
>> Tested only by rebuilding.
>>
>> gdb/ChangeLog:
>>
>> 	* observable.h <inferior_created>: Remove parameters.  Update all
>> 	listeners.
>> 	* inferior.h (post_create_inferior): Remove target parameter.
>> 	Update all callers.
> 
> LGTM.
> 
> Thanks,
> Andrew

Thanks, pushed.

Simon



More information about the Gdb-patches mailing list