2003-03-18 Andrew Cagney <cagney@redhat.com>

* printcmd.c (print_scalar_formatted): Change VALADDR parameter to
	a void pointer.
	* gdbtypes.h (print_scalar_formatted): Update declaration.
	* expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
This commit is contained in:
Andrew Cagney 2003-03-18 22:03:29 +00:00
parent ac3b79201d
commit a2867626c1
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2003-03-18 Andrew Cagney <cagney@redhat.com>
* printcmd.c (print_scalar_formatted): Change VALADDR parameter to
a void pointer.
* gdbtypes.h (print_scalar_formatted): Update declaration.
* expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
2003-03-18 J. Brobecker <brobecker@gnat.com>
* infrun.c (observer.h): Add #include.

View File

@ -322,7 +322,7 @@ enum exp_opcode
OP_EXPRSTRING,
/* An Objective C Foundation Class NSString constant */
OP_OBJC_NSSTRING,
OP_OBJC_NSSTRING
};
union exp_element

View File

@ -1250,7 +1250,7 @@ extern void recursive_dump_type (struct type *, int);
/* printcmd.c */
extern void print_scalar_formatted (char *, struct type *, int, int,
extern void print_scalar_formatted (void *, struct type *, int, int,
struct ui_file *);
extern int can_dereference (struct type *);

View File

@ -343,7 +343,7 @@ print_formatted (struct value *val, register int format, int size,
with a format. */
void
print_scalar_formatted (char *valaddr, struct type *type, int format, int size,
print_scalar_formatted (void *valaddr, struct type *type, int format, int size,
struct ui_file *stream)
{
LONGEST val_long;