From: Tom Tromey Date: Sun, 10 Sep 2017 03:29:57 +0000 (-0600) Subject: Constify show_convenience X-Git-Tag: users/gbenson/thread_db-test/2017-11-22~780 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad25e4234a3f370a693b9c392c5b54216aab4592;p=thirdparty%2Fbinutils-gdb.git Constify show_convenience gdb/ChangeLog 2017-09-27 Tom Tromey * value.c (show_convenience): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6704ccdd2e1..b31d87b035c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * value.c (show_convenience): Constify. + 2017-09-27 Tom Tromey * gdbcore.h (core_file_command): Update. diff --git a/gdb/value.c b/gdb/value.c index 1fd9cc9a7d0..d0871ef5bb2 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -885,8 +885,6 @@ value_contents_eq (const struct value *val1, LONGEST offset1, static void show_values (char *, int); -static void show_convenience (char *, int); - /* The value-history records all the values printed by print commands during this session. Each chunk @@ -2661,7 +2659,7 @@ preserve_values (struct objfile *objfile) } static void -show_convenience (char *ignore, int from_tty) +show_convenience (const char *ignore, int from_tty) { struct gdbarch *gdbarch = get_current_arch (); struct internalvar *var;