* 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.
This commit is contained in:
Keith Seitz
2013-03-07 00:48:25 +00:00
parent 31c620b0bc
commit 741d92cf39
5 changed files with 12 additions and 4 deletions

View File

@@ -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