From a76e22e087ee5784e62508cf8ec29e2ab21634e6 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Thu, 7 Mar 2013 00:48:19 +0000 Subject: * 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. --- gdb/ax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ax.h') 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 -- cgit v1.2.1