summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-04-02 14:09:08 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-04-02 14:09:08 +0000
commit697b258f3efaedff028acc1666d85815cb9992f7 (patch)
treefe0b16baf311bc199bb18b92c855dd02ff28dc51 /gdb/remote.c
parent0e03af0b3d2c1b5a7dc1221ce7faaedb5d74b661 (diff)
downloadgdb-697b258f3efaedff028acc1666d85815cb9992f7.tar.gz
gdb/
Revert this patch: PR gdb/15275 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 8151eb2e7f1..aefbcf13bbe 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -10713,9 +10713,10 @@ remote_get_trace_status (struct trace_status *ts)
trace_regblock_size = get_remote_arch_state ()->sizeof_g_packet;
+ putpkt ("qTStatus");
+
TRY_CATCH (ex, RETURN_MASK_ERROR)
{
- putpkt ("qTStatus");
p = remote_get_noisy_reply (&target_buf, &target_buf_size);
}
if (ex.reason < 0)