gdb: fix some inferior_created observer signatures

I just noticed that in a7aba2668a ("gdb: remove arguments from
inferior_created observable"), I forgot to update
aix_thread_inferior_created and procfs_inferior_created, which are in
files I can't compile.

Remove the parameters from aix_thread_inferior_created.  And simply
remove procfs_inferior_created, since it's empty anyway.

gdb/ChangeLog:

	* aix-thread.c (aix_thread_inferior_created): Remove parameters.
	* procfs.c (procfs_inferior_created): Remove.
	(_initialize_procfs): Don't register procfs_inferior_created.

Change-Id: Ifc7def7c096332033b5d466d32cb873d1df18c2c
This commit is contained in:
Simon Marchi 2020-10-02 15:22:21 -04:00
parent 6b01403b25
commit 18b67edc2c
3 changed files with 7 additions and 10 deletions

View file

@ -1015,7 +1015,7 @@ new_objfile (struct objfile *objfile)
/* Attach to process specified by ARGS. */
static void
aix_thread_inferior_created (struct target_ops *ops, int from_tty)
aix_thread_inferior_created ()
{
pd_enable ();
}