From 1554e9be88d65571db4bef4a6aa916087de6bd94 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 16 Apr 2009 19:31:03 +0000 Subject: [PATCH] * remote.c (remote_query_attached): Fix pasto in packet_ok result checking. --- gdb/ChangeLog | 5 +++++ gdb/remote.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa9ab19b994..79537a45a1e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-04-16 Pedro Alves + + * remote.c (remote_query_attached): Fix pasto in packet_ok result + checking. + 2009-04-16 Joel Brobecker * procfs.c (solib_mappings_callback, find_memory_regions_callback): diff --git a/gdb/remote.c b/gdb/remote.c index 367a0ebf029..bec99f0b533 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) -- 2.30.2