aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-03-27 18:20:10 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-03-27 18:20:10 +0000
commitec21308c432bb90610474eedeb47b2335b12a735 (patch)
tree3d7a4455b69ef0b79e71cef2ca76f41197d561fc /gdb/remote.c
parent7e612e9848387838d6e9bda6e95eac165a25e4ed (diff)
downloadgdb-ec21308c432bb90610474eedeb47b2335b12a735.zip
gdb-ec21308c432bb90610474eedeb47b2335b12a735.tar.gz
gdb-ec21308c432bb90610474eedeb47b2335b12a735.tar.bz2
gdb/
PR gdb/15275 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index ce477cf..8659953 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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)