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 077fa4a9ae20911ceceba02343c942dddadc304b..48fb9b54f38a5c0c698fd0bcc0ee43b42d796c11 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 5eba2dcc7839e46fa52a769ab974c04548bd34f7..b43fefc06daac63aa854231c27d5fbec5b00368e 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;
This page took 0.032599 seconds and 4 git commands to generate.