I just noticed that in 
a7aba2668a7b ("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
+2020-10-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       * aix-thread.c (aix_thread_inferior_created): Remove parameters.
+       * procfs.c (procfs_inferior_created): Remove.
+       (_initialize_procfs): Don't register procfs_inferior_created.
+
 2020-10-02  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * async-event.c (invoke_async_signal_handlers): Add debug
 
 /* 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 ();
 }
 
   procfs_init_inferior (pid);
 }
 
-/* An observer for the "inferior_created" event.  */
-
-static void
-procfs_inferior_created (struct target_ops *ops, int from_tty)
-{
-}
-
 /* Callback for update_thread_list.  Calls "add_thread".  */
 
 static int
 void
 _initialize_procfs ()
 {
-  gdb::observers::inferior_created.attach (procfs_inferior_created);
-
   add_com ("proc-trace-entry", no_class, proc_trace_sysentry_cmd,
           _("Give a trace of entries into the syscall."));
   add_com ("proc-trace-exit", no_class, proc_trace_sysexit_cmd,