]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Mar 2013 18:21:54 +0000 (18:21 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Mar 2013 18:21:54 +0000 (18:21 +0000)
PR gdb/15275
* remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.

gdb/ChangeLog
gdb/remote.c

index 9b7c1c93c459e767045deee8852d017bd33d40bb..e6d928f86c358e4babf36545dd75ba5dd5a53ce3 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-27  Gareth McMullin  <gareth@blacksphere.co.nz>
+
+       PR gdb/15275
+       * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
+
 2013-03-27  Pedro Alves  <palves@redhat.com>
 
        * top.c (history_size): Rename to ...
index 6194aefdf5b313610a27ff579c57a0030c610ed1..de778b70858c544f17b8b7f261d7608476580fe4 100644 (file)
@@ -10692,10 +10692,9 @@ 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)