gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 2 Apr 2013 14:09:08 +0000 (14:09 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 2 Apr 2013 14:09:08 +0000 (14:09 +0000)
Revert this patch:
PR gdb/15275
* remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.

gdb/ChangeLog
gdb/remote.c

index a99c4bd2627cc57f0f2ddd9cc53ac41f7f5ce2f4..53df11b3ba748e1d211b9af1d6db42db71bc5393 100644 (file)
@@ -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
index 8151eb2e7f169a13f67d6593aa72f3bd596ad611..aefbcf13bbed666ce8983a68f7a9f9c8ae3aa033 100644 (file)
@@ -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)