summaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 19:03:53 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 19:03:53 +0000
commitb15f5de01441094f6e326200e7b6d0e9e5de2820 (patch)
tree8587cc9eebb069fdb6b16403343dfe512095472f /gdb/printcmd.c
parent7cb61e4699f3f41d0fc1e24e496160b36660c328 (diff)
downloadgdb-b15f5de01441094f6e326200e7b6d0e9e5de2820.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 6ca1f6bdd62..fb13ecb8c95 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);