Re: [PATCH v2 3/6] Use get_remote_packet_size in download_tracepoint

Pedro Franco de Carvalho
2018-08-08T15:55:08Z

Szabolcs Nagy <szabolcs.nagy@arm.com> writes:

> on baremetal arm targets i see
>
> In file included from /S/gdb/common/common-defs.h:86:0,
> from /S/gdb/defs.h:28,
> from /S/gdb/remote.c:22:
> /S/gdb/remote.c: In member function 'virtual void remote_target::download_tracepoint(bp_location*)':
> /S/gdb/common/gdb_locale.h:35:27: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings]
> # define _(String) (String)
> ^
> /S/gdb/remote.c:12844:19: note: in expansion of macro '_'
> char *err_msg = _("Tracepoint packet too large for target.");

Sorry, and thanks for the fix!

--
Pedro Franco de Carvalho