diff options
author | Keith Seitz <keiths@redhat.com> | 2013-03-07 00:48:19 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2013-03-07 00:48:19 +0000 |
commit | a76e22e087ee5784e62508cf8ec29e2ab21634e6 (patch) | |
tree | 55803b0e9f76e411f3988e9d60cbb6106fad3add /gdb/ax-gdb.c | |
parent | 780ab92c4e72b06ae71a0725e4a739f9b54225ac (diff) | |
download | gdb-a76e22e087ee5784e62508cf8ec29e2ab21634e6.tar.gz |
* 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.c')
-rw-r--r-- | gdb/ax-gdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 20298825689..066826eaeca 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -2558,7 +2558,7 @@ gen_trace_for_return_address (CORE_ADDR scope, struct gdbarch *gdbarch) struct agent_expr * gen_printf (CORE_ADDR scope, struct gdbarch *gdbarch, CORE_ADDR function, LONGEST channel, - char *format, int fmtlen, + const char *format, int fmtlen, struct format_piece *frags, int nargs, struct expression **exprs) { |