From 049dc89bd73040286e57716c62b2c60f46106309 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 2 Apr 2013 14:09:08 +0000 Subject: [PATCH] gdb/ Revert this patch: PR gdb/15275 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. --- gdb/ChangeLog | 6 ++++++ gdb/remote.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a99c4bd2627..53df11b3ba7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-04-02 Jan Kratochvil + + Revert this patch: + PR gdb/15275 + * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. + 2013-04-02 Pedro Alves PR gdb/15275 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) -- 2.30.2