aboutsummaryrefslogtreecommitdiff
path: root/gdb/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/agent.c')
-rw-r--r--gdb/agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/agent.c b/gdb/agent.c
index 79bb32e..5e52865 100644
--- a/gdb/agent.c
+++ b/gdb/agent.c
@@ -78,7 +78,8 @@ void _initialize_agent ();
void
_initialize_agent ()
{
- gdb::observers::new_objfile.attach (agent_new_objfile);
+ gdb::observers::new_objfile.attach (agent_new_objfile,
+ "agent");
add_setshow_enum_cmd ("agent", class_run,
can_use_agent_enum,