From a9596cd98aa07c137ed362c7d92df64213b4fa04 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 3 Jun 2003 20:54:43 +0000 Subject: Snap const char * mess. --- gdb/ax-gdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ax-gdb.c') diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 5692c35..c0a4837 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -135,7 +135,7 @@ static void gen_expr (union exp_element **pc, struct agent_expr *ax, struct axs_value *value); static void print_axs_value (struct ui_file *f, struct axs_value * value); -static void agent_command (char *exp, int from_tty); +static void agent_command (const char *exp, int from_tty); /* Detecting constant expressions. */ @@ -1826,7 +1826,7 @@ print_axs_value (struct ui_file *f, struct axs_value *value) static void -agent_command (char *exp, int from_tty) +agent_command (const char *exp, int from_tty) { struct cleanup *old_chain = 0; struct expression *expr; -- cgit v1.1