diff options
Diffstat (limited to 'gdb/agent.c')
-rw-r--r-- | gdb/agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/agent.c b/gdb/agent.c index e2ad3b5..d7e4858 100644 --- a/gdb/agent.c +++ b/gdb/agent.c @@ -65,7 +65,7 @@ set_can_use_agent (const char *args, int from_tty, struct cmd_list_element *c) static void agent_new_objfile (struct objfile *objfile) { - if (objfile == NULL || agent_loaded_p ()) + if (agent_loaded_p ()) return; if (can_use_agent == can_use_agent_off) |