mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* 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:
2
gdb/ax.h
2
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
|
||||
|
||||
Reference in New Issue
Block a user