diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-28 19:03:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-28 19:03:53 +0000 |
commit | 366b1cbfdcd51ab1cac1f5fce3b41c7d31d827b5 (patch) | |
tree | b798c407f777f0e8f513afd02343db3cee218c7f /gdb/printcmd.c | |
parent | b134237006c3ca03ab8a97e0334257885f578f5c (diff) | |
download | gdb-366b1cbfdcd51ab1cac1f5fce3b41c7d31d827b5.zip gdb-366b1cbfdcd51ab1cac1f5fce3b41c7d31d827b5.tar.gz gdb-366b1cbfdcd51ab1cac1f5fce3b41c7d31d827b5.tar.bz2 |
2005-01-28 Andrew Cagney <cagney@gnu.org>
* printcmd.c (print_scalar_formatted): Update.
* gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 6ca1f6b..fb13ecb 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -334,8 +334,8 @@ print_formatted (struct value *val, int format, int size, with a format. */ void -print_scalar_formatted (void *valaddr, struct type *type, int format, int size, - struct ui_file *stream) +print_scalar_formatted (const void *valaddr, struct type *type, + int format, int size, struct ui_file *stream) { LONGEST val_long = 0; unsigned int len = TYPE_LENGTH (type); |