summaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 5692c35f990..c0a48372d76 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;