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.
This commit is contained in:
parent
b134237006
commit
366b1cbfdc
|
@ -1,5 +1,8 @@
|
||||||
2005-01-28 Andrew Cagney <cagney@gnu.org>
|
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)
|
* value.h (value_bit_index, print_floating)
|
||||||
(find_rt_vbase_offset): Make buffer a const bfd_byte.
|
(find_rt_vbase_offset): Make buffer a const bfd_byte.
|
||||||
* valprint.c (print_floating): Update.
|
* valprint.c (print_floating): Update.
|
||||||
|
|
|
@ -1347,7 +1347,7 @@ extern void recursive_dump_type (struct type *, int);
|
||||||
|
|
||||||
/* printcmd.c */
|
/* 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 *);
|
struct ui_file *);
|
||||||
|
|
||||||
extern int can_dereference (struct type *);
|
extern int can_dereference (struct type *);
|
||||||
|
|
|
@ -334,8 +334,8 @@ print_formatted (struct value *val, int format, int size,
|
||||||
with a format. */
|
with a format. */
|
||||||
|
|
||||||
void
|
void
|
||||||
print_scalar_formatted (void *valaddr, struct type *type, int format, int size,
|
print_scalar_formatted (const void *valaddr, struct type *type,
|
||||||
struct ui_file *stream)
|
int format, int size, struct ui_file *stream)
|
||||||
{
|
{
|
||||||
LONGEST val_long = 0;
|
LONGEST val_long = 0;
|
||||||
unsigned int len = TYPE_LENGTH (type);
|
unsigned int len = TYPE_LENGTH (type);
|
||||||
|
|
Loading…
Reference in New Issue