This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 67/67] Constify find_command
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:10:23 -0600
- Subject: [RFA 67/67] Constify find_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* findcmd.c (find_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/findcmd.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
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;
--
2.9.4