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 a99c4bd..53df11b 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 8151eb2..aefbcf1 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)