Two minor constifications
authorTom Tromey <tromey@adacore.com>
Fri, 10 May 2019 13:17:48 +0000 (07:17 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 10 May 2019 13:17:48 +0000 (07:17 -0600)
commit24c54127c5c4da81b9e6c248c8e918b3564b271a
tree04c796e80050928c3f6f02017e5b45e94009cfd4
parentf3e606a3db56db3ce1ab172511a4ffe9310a496f
Two minor constifications

I noticed a couple of spots where a "char *" was used where a
"const char *" made more sense.  This patch fixes both of them.
Tested by rebuilding.

gdb/ChangeLog
2019-05-10  Tom Tromey  <tromey@adacore.com>

* thread.c (print_thread_info): Make "requested_threads" const.
* gdbthread.h (print_thread_info): Make "requested_threads"
const.
* ada-tasks.c (print_ada_task_info): Make "taskno_str" const.
* ada-lang.h (print_ada_task_info): Make "taskno_str" const.
gdb/ChangeLog
gdb/ada-lang.h
gdb/ada-tasks.c
gdb/gdbthread.h
gdb/thread.c