mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user