summaryrefslogtreecommitdiff
path: root/gdb/ax.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-03-07 00:48:19 +0000
committerKeith Seitz <keiths@redhat.com>2013-03-07 00:48:19 +0000
commita76e22e087ee5784e62508cf8ec29e2ab21634e6 (patch)
tree55803b0e9f76e411f3988e9d60cbb6106fad3add /gdb/ax.h
parent780ab92c4e72b06ae71a0725e4a739f9b54225ac (diff)
downloadgdb-a76e22e087ee5784e62508cf8ec29e2ab21634e6.tar.gz
* ax-gdb.c (gen_printf): Make FORMAT const.
* ax-gdb.h (gen_printf): Likewise. * ax-general.c (ax_string): Make STR const. * ax.h (ax_string): Likewise.
Diffstat (limited to 'gdb/ax.h')
-rw-r--r--gdb/ax.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax.h b/gdb/ax.h
index 1c36125f65a..32887efeeb4 100644
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -221,7 +221,7 @@ extern void ax_reg_mask (struct agent_expr *ax, int reg);
extern void ax_tsv (struct agent_expr *expr, enum agent_op op, int num);
/* Append a string to the bytecode stream. */
-extern void ax_string (struct agent_expr *x, char *str, int slen);
+extern void ax_string (struct agent_expr *x, const char *str, int slen);
/* Functions for printing out expressions, and otherwise debugging