diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-18 22:03:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-18 22:03:29 +0000 |
commit | a2867626c13e9fe67881cc79e4ae6ff4f193fc04 (patch) | |
tree | aed4767b4af4c064dc914056ee094948913a4384 | |
parent | ac3b79201d339c4cf6164b0c54be32185543cdd6 (diff) | |
download | gdb-a2867626c13e9fe67881cc79e4ae6ff4f193fc04.zip gdb-a2867626c13e9fe67881cc79e4ae6ff4f193fc04.tar.gz gdb-a2867626c13e9fe67881cc79e4ae6ff4f193fc04.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/expression.h | 2 | ||||
-rw-r--r-- | gdb/gdbtypes.h | 2 | ||||
-rw-r--r-- | gdb/printcmd.c | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 17001c6..0a8d169 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/expression.h b/gdb/expression.h index 60e61d9..da95fcb 100644 --- a/gdb/expression.h +++ b/gdb/expression.h @@ -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 diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 5a079bf..1046697 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -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 *); diff --git a/gdb/printcmd.c b/gdb/printcmd.c index c7b0ffb..5196ef0 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -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; |