diff options
Diffstat (limited to 'gdb/agent.c')
-rw-r--r-- | gdb/agent.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/agent.c b/gdb/agent.c index 7a2a8e5..dd3a557 100644 --- a/gdb/agent.c +++ b/gdb/agent.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2012-2024 Free Software Foundation, Inc. +/* Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -73,9 +73,7 @@ agent_new_objfile (struct objfile *objfile) agent_look_up_symbols (objfile); } -void _initialize_agent (); -void -_initialize_agent () +INIT_GDB_FILE (agent) { gdb::observers::new_objfile.attach (agent_new_objfile, "agent"); |