diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-08-08 11:14:20 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-08-08 11:31:11 +0100 |
commit | ff36536c9273734af6f84832b583c10f44c5010e (patch) | |
tree | 15cbb2055ac873421910a9dbb0d2924530a132d7 /gdb/target.c | |
parent | f6f9ed015ea683ee2b00591aa31a4cacedb7a810 (diff) | |
download | binutils-ff36536c9273734af6f84832b583c10f44c5010e.zip binutils-ff36536c9273734af6f84832b583c10f44c5010e.tar.gz binutils-ff36536c9273734af6f84832b583c10f44c5010e.tar.bz2 |
Fix gdb/remote.c build failure
Add const qualifier to fix
/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.");
^
gdb/ChangeLog:
* remote.c (remote_target::download_tracepoint): Change char* to
const char*.
Diffstat (limited to 'gdb/target.c')
0 files changed, 0 insertions, 0 deletions