2011-06-16 Hui Zhu <teawater@gmail.com>

* remote.c (remote_trace_set_readonly_regions): Add check for
	remote_protocol_packets[PACKET_qXfer_traceframe_info].support before
	output warning.
This commit is contained in:
Hui Zhu 2011-06-16 02:19:44 +00:00
parent 6f1683b9c0
commit 864ac8a76c
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-06-16 Hui Zhu <teawater@gmail.com>
* remote.c (remote_trace_set_readonly_regions): Add check for
remote_protocol_packets[PACKET_qXfer_traceframe_info].support before
output warning.
2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
* arm-linux-tdep.c: Include "auxv.h".

View File

@ -10001,7 +10001,9 @@ remote_trace_set_readonly_regions (void)
sec_length = 1 + strlen (tmp1) + 1 + strlen (tmp2);
if (offset + sec_length + 1 > target_buf_size)
{
warning (_("\
if (remote_protocol_packets[PACKET_qXfer_traceframe_info].support
!= PACKET_ENABLE)
warning (_("\
Too many sections for read-only sections definition packet."));
break;
}