Fix gdb/remote.c build failure
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 8 Aug 2018 10:14:20 +0000 (11:14 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 8 Aug 2018 10:31:11 +0000 (11:31 +0100)
commitff36536c9273734af6f84832b583c10f44c5010e
tree15cbb2055ac873421910a9dbb0d2924530a132d7
parentf6f9ed015ea683ee2b00591aa31a4cacedb7a810
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*.
gdb/ChangeLog
gdb/remote.c
This page took 0.024136 seconds and 4 git commands to generate.