From: Tom Tromey Date: Sun, 10 Sep 2017 02:55:20 +0000 (-0600) Subject: Constify add_cmd gdb_bfd.c X-Git-Tag: users/gbenson/thread_db-test/2017-11-22~793 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4e3333549c96d2915bb888b7b347566c938e75a;p=thirdparty%2Fbinutils-gdb.git Constify add_cmd gdb_bfd.c This constifies a command function in gdb_bfd.c. gdb/ChangeLog 2017-09-27 Tom Tromey * gdb_bfd.c (maintenance_info_bfds): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 54bc5b0b295..7cfd359a659 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * gdb_bfd.c (maintenance_info_bfds): Constify. + 2017-09-27 Tom Tromey * cli/cli-decode.c (add_cmd, set_cmd_cfunc): New function diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index d80b3fb7bcd..29080b852a5 100644 --- a/gdb/gdb_bfd.c +++ b/gdb/gdb_bfd.c @@ -974,7 +974,7 @@ print_one_bfd (void **slot, void *data) /* Implement the 'maint info bfd' command. */ static void -maintenance_info_bfds (char *arg, int from_tty) +maintenance_info_bfds (const char *arg, int from_tty) { struct ui_out *uiout = current_uiout;