aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-03 20:54:43 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-03 20:54:43 +0000
commita9596cd98aa07c137ed362c7d92df64213b4fa04 (patch)
tree93d2aea2e0fa868da0f9b56626e5cfe8c2341869 /gdb/ax-gdb.c
parent74eda9eb7acc3c2bd375826f92e8ca233d5f767a (diff)
downloadbinutils-cagney_writestrings-20030508-branch.zip
binutils-cagney_writestrings-20030508-branch.tar.gz
binutils-cagney_writestrings-20030508-branch.tar.bz2
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 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;