aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-04-16 19:31:03 +0000
committerPedro Alves <palves@redhat.com>2009-04-16 19:31:03 +0000
commit1554e9be88d65571db4bef4a6aa916087de6bd94 (patch)
tree0b57a8dea708f7a5f854bccb5d1f9fa97fbcee99 /gdb/remote.c
parentbf75638ec12cf0175faebe99818cd7c28b801c41 (diff)
downloadgdb-1554e9be88d65571db4bef4a6aa916087de6bd94.zip
gdb-1554e9be88d65571db4bef4a6aa916087de6bd94.tar.gz
gdb-1554e9be88d65571db4bef4a6aa916087de6bd94.tar.bz2
* remote.c (remote_query_attached): Fix pasto in packet_ok result
checking.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 367a0eb..bec99f0 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -1139,7 +1139,7 @@ remote_query_attached (int pid)
getpkt (&rs->buf, &rs->buf_size, 0);
switch (packet_ok (rs->buf,
- &remote_protocol_packets[PACKET_qAttached]) == PACKET_OK)
+ &remote_protocol_packets[PACKET_qAttached]))
{
case PACKET_OK:
if (strcmp (rs->buf, "1") == 0)