aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ax.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/ax.c')
-rw-r--r--gdb/gdbserver/ax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/ax.c b/gdb/gdbserver/ax.c
index 386df3d..afeeaed 100644
--- a/gdb/gdbserver/ax.c
+++ b/gdb/gdbserver/ax.c
@@ -798,10 +798,10 @@ compile_bytecodes (struct agent_expr *aexpr)
in. */
static void
-ax_printf (CORE_ADDR fn, CORE_ADDR chan, char *format,
+ax_printf (CORE_ADDR fn, CORE_ADDR chan, const char *format,
int nargs, ULONGEST *args)
{
- char *f = format;
+ const char *f = format;
struct format_piece *fpieces;
int i, fp;
char *current_substring;