Hurd, C++: Avoid "const char *" to "char *" casts
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 25 Nov 2016 14:16:13 +0000 (15:16 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 8 Dec 2016 07:24:53 +0000 (08:24 +0100)
commit785102a7d34f2d48f9a1616bf931fea6de2385fb
treefed8ee31f308cffd98ed0a31ede72f6d4ebc23b4
parenta9617a426d001a748168fbc399fcc77e6d8d3cac
Hurd, C++: Avoid "const char *" to "char *" casts

... by a bit of code refactoring:

gdb/
* gnu-nat.c (set_task_pause_cmd, set_signals_cmd)
(set_exceptions_cmd): Add variants taking an "int arg" instead of
a "char *".  Make the "char *" variants use the former.
(set_noninvasive_cmd): Also use the "int arg" variants.
gdb/ChangeLog
gdb/gnu-nat.c