diff options
author | Keith Seitz <keiths@redhat.com> | 2013-03-07 00:48:25 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2013-03-07 00:48:25 +0000 |
commit | 741d92cf3986c9327b90b1153c9f6e2a6a2cc13f (patch) | |
tree | ca2804540b7146c6f3d5d52276013ba6cd0c7e8e /gdb/ax-general.c | |
parent | 31c620b0bc323ee9c8164ae80d12222d48c130d9 (diff) | |
download | gdb-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-general.c')
-rw-r--r-- | gdb/ax-general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-general.c b/gdb/ax-general.c index 32a47a7..8bd4df6 100644 --- a/gdb/ax-general.c +++ b/gdb/ax-general.c @@ -337,7 +337,7 @@ ax_tsv (struct agent_expr *x, enum agent_op op, int num) is counted in the length.) */ void -ax_string (struct agent_expr *x, char *str, int slen) +ax_string (struct agent_expr *x, const char *str, int slen) { int i; |