Constify add_abbrev_prefix_cmd
authorTom Tromey <tom@tromey.com>
Tue, 10 Oct 2017 23:51:52 +0000 (17:51 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 7 Nov 2017 20:59:08 +0000 (13:59 -0700)
commitee7ddd713206fdf02512a9fb3fe928a210200c11
treeb938589f9e3d4acd9db5bc3a41f4f1c4f58bc967
parent52eab766df54915f8d3d71475235868285c4ca82
Constify add_abbrev_prefix_cmd

This changes add_abbrev_prefix_cmd to take a const-taking callback
function and then fixes the one caller.

gdb/ChangeLog
2017-11-07  Tom Tromey  <tom@tromey.com>

* breakpoint.c (stop_command): Constify.
* cli/cli-decode.c (struct cmd_list_element): Constify.
* command.h (add_abbrev_prefix_cmd): Constify.
gdb/ChangeLog
gdb/breakpoint.c
gdb/cli/cli-decode.c
gdb/command.h