summaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-10-02 15:22:21 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-10-02 15:22:32 -0400
commit18b67edc2c66ae73e0c58a14a9edb9957587788a (patch)
tree73c1c49cd30f36362b545a175ea778b04c46f2ae /gdb/procfs.c
parent6b01403b25c0eb6ce9e7b2e3cc6f5da674089e72 (diff)
downloadbinutils-gdb-18b67edc2c66ae73e0c58a14a9edb9957587788a.tar.gz
gdb: fix some inferior_created observer signatures
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
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index c017f4a1551..31f33fe9a2b 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -2867,13 +2867,6 @@ procfs_target::create_inferior (const char *exec_file,
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
@@ -3470,8 +3463,6 @@ void _initialize_procfs ();
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,