aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-03-07 00:48:25 +0000
committerKeith Seitz <keiths@redhat.com>2013-03-07 00:48:25 +0000
commit741d92cf3986c9327b90b1153c9f6e2a6a2cc13f (patch)
treeca2804540b7146c6f3d5d52276013ba6cd0c7e8e /gdb/ax-gdb.h
parent31c620b0bc323ee9c8164ae80d12222d48c130d9 (diff)
downloadgdb-741d92cf3986c9327b90b1153c9f6e2a6a2cc13f.zip
gdb-741d92cf3986c9327b90b1153c9f6e2a6a2cc13f.tar.gz
gdb-741d92cf3986c9327b90b1153c9f6e2a6a2cc13f.tar.bz2
* 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-gdb.h')
-rw-r--r--gdb/ax-gdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index e74d107..04772b7 100644
--- a/gdb/ax-gdb.h
+++ b/gdb/ax-gdb.h
@@ -117,7 +117,7 @@ extern void require_rvalue (struct agent_expr *ax, struct axs_value *value);
struct format_piece;
extern struct agent_expr *gen_printf (CORE_ADDR, struct gdbarch *,
- CORE_ADDR, LONGEST, char *, int,
+ CORE_ADDR, LONGEST, const char *, int,
struct format_piece *,
int, struct expression **);