PR gdb/15275
	* remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
This commit is contained in:
Jan Kratochvil 2013-03-27 18:20:10 +00:00
parent 7e612e9848
commit ec21308c43
2 changed files with 6 additions and 2 deletions

View 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 ...

View 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)