aboutsummaryrefslogtreecommitdiff
path: root/gdb/findcmd.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:33:48 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:45:11 -0600
commitf21b4d5c59136c38bb6d94eb6a29ad80d02043f4 (patch)
treefadf37947a31b02ed26c8ce833551bd68d25cc47 /gdb/findcmd.c
parent643c2ffafea7397461daea339bb8f0ef2f23b31f (diff)
downloadgdb-f21b4d5c59136c38bb6d94eb6a29ad80d02043f4.zip
gdb-f21b4d5c59136c38bb6d94eb6a29ad80d02043f4.tar.gz
gdb-f21b4d5c59136c38bb6d94eb6a29ad80d02043f4.tar.bz2
Constify find_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * findcmd.c (find_command): Constify.
Diffstat (limited to 'gdb/findcmd.c')
-rw-r--r--gdb/findcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findcmd.c b/gdb/findcmd.c
index 5eba2dc..b43fefc 100644
--- a/gdb/findcmd.c
+++ b/gdb/findcmd.c
@@ -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;