aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-04-02 14:09:08 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-04-02 14:09:08 +0000
commit049dc89bd73040286e57716c62b2c60f46106309 (patch)
treea106011f8db176ac6c866f4c9e4ff2fe45552815
parentc33e31fd4a0816e5820ecccd30aeb3f09b1104a8 (diff)
downloadgdb-049dc89bd73040286e57716c62b2c60f46106309.zip
gdb-049dc89bd73040286e57716c62b2c60f46106309.tar.gz
gdb-049dc89bd73040286e57716c62b2c60f46106309.tar.bz2
gdb/
Revert this patch: PR gdb/15275 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/remote.c3
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)