mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-04 15:54:25 +08:00
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:
parent
6f1683b9c0
commit
864ac8a76c
@ -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".
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user