gdb: remove arguments from inferior_created observable

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.

Change-Id: I8944cefdc4447ed5347dc927b75abf1e7a0e27e6
This commit is contained in:
Simon Marchi
2020-10-02 10:46:38 -04:00
committed by Simon Marchi
parent 3ee6f75d05
commit a7aba2668a
15 changed files with 24 additions and 18 deletions

View File

@@ -263,7 +263,7 @@ bsd_uthread_deactivate (void)
}
static void
bsd_uthread_inferior_created (struct target_ops *ops, int from_tty)
bsd_uthread_inferior_created ()
{
bsd_uthread_activate (NULL);
}