diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a99c4bd..53df11b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-04-02 Jan Kratochvil <jan.kratochvil@redhat.com> + + Revert this patch: + PR gdb/15275 + * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. + 2013-04-02 Pedro Alves <palves@redhat.com> PR gdb/15275 diff --git a/gdb/remote.c b/gdb/remote.c index 8151eb2..aefbcf1 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) |