[gdb, hurd] Address "ISO C++ forbids converting a string constant to 'char*' [-Wwrite...
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 14 Feb 2019 09:22:28 +0000 (10:22 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 14 Feb 2019 16:14:33 +0000 (17:14 +0100)
commit924514e11c21ac5a5805e7a14824b6f3182b2198
treefaa2407b0571539acd2a513fed9089b802823a18
parentc29ee8d45ec2113821c006a18cfedb9023ef9ce1
[gdb, hurd] Address "ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]" diagnostics

... that appeared with 9bf2a700667c53003ece783c05e8b355801105f2
"-Wwrite-strings: Remove -Wno-write-strings".

gdb/
* gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg)
(check_empty): Use "const char *".
gdb/ChangeLog
gdb/gnu-nat.c