-/* Copyright (C) 2012-2018 Free Software Foundation, Inc.
+/* Copyright (C) 2012-2019 Free Software Foundation, Inc.
This file is part of GDB.
#include "command.h"
#include "gdbcmd.h"
#include "target.h"
-#include "agent.h"
+#include "common/agent.h"
/* Enum strings for "set|show agent". */
can_use_agent = can_use_agent_off;
}
-#include "observer.h"
+#include "observable.h"
#include "objfiles.h"
static void
void
_initialize_agent (void)
{
- observer_attach_new_objfile (agent_new_objfile);
+ gdb::observers::new_objfile.attach (agent_new_objfile);
add_setshow_enum_cmd ("agent", class_run,
can_use_agent_enum,