2005-01-28 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Fri, 28 Jan 2005 19:03:53 +0000 (19:03 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 28 Jan 2005 19:03:53 +0000 (19:03 +0000)
* printcmd.c (print_scalar_formatted): Update.
* gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.

gdb/ChangeLog
gdb/gdbtypes.h
gdb/printcmd.c

index 639a2a1c3d08168a9ea772f3bb59169473a370c9..f339d3105bbb835cd2b640f7ed19558c9c949612 100644 (file)
@@ -1,5 +1,8 @@
 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.
+
        * value.h (value_bit_index, print_floating)
        (find_rt_vbase_offset): Make buffer a const bfd_byte.
        * valprint.c (print_floating): Update.
index eb28de2faae0969fa69795917dcf0ec236ab46e2..6c12f058632a01c4141946af9449bd407ed204b2 100644 (file)
@@ -1347,7 +1347,7 @@ extern void recursive_dump_type (struct type *, int);
 
 /* printcmd.c */
 
-extern void print_scalar_formatted (void *, struct type *, int, int,
+extern void print_scalar_formatted (const void *, struct type *, int, int,
                                    struct ui_file *);
 
 extern int can_dereference (struct type *);
index 6ca1f6bdd6240a0e6addb63ac9daf211a11e2893..fb13ecb8c959a4ff3c6a7e974796db1abe2427d3 100644 (file)
@@ -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);
This page took 0.028541 seconds and 4 git commands to generate.