aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/agent.c')
-rw-r--r--gdb/common/agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/agent.c b/gdb/common/agent.c
index 65d5f19..8f80aee 100644
--- a/gdb/common/agent.c
+++ b/gdb/common/agent.c
@@ -234,7 +234,7 @@ agent_run_command (int pid, const char *cmd, int len)
return -1;
/* Need to read response with the inferior stopped. */
- if (!ptid_equal (ptid, null_ptid))
+ if (ptid != null_ptid)
{
/* Stop thread PTID. */
DEBUG_AGENT ("agent: stop helper thread\n");