Constify find_command
authorTom Tromey <tom@tromey.com>
Wed, 13 Sep 2017 03:33:48 +0000 (21:33 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:45:11 +0000 (08:45 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* findcmd.c (find_command): Constify.

gdb/ChangeLog
gdb/findcmd.c

index 077fa4a..48fb9b5 100644 (file)
@@ -1,5 +1,9 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+       * findcmd.c (find_command): Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
        * ada-tasks.c (task_command_1, task_command): Constify.
 
 2017-09-27  Tom Tromey  <tom@tromey.com>
index 5eba2dc..b43fefc 100644 (file)
@@ -209,7 +209,7 @@ parse_find_args (const char *args, ULONGEST *max_countp,
 }
 
 static void
-find_command (char *args, int from_tty)
+find_command (const char *args, int from_tty)
 {
   struct gdbarch *gdbarch = get_current_arch ();
   bfd_boolean big_p = gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG;