diff options
Diffstat (limited to 'gdb/typeprint.c')
-rw-r--r-- | gdb/typeprint.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/typeprint.c b/gdb/typeprint.c index d39e2e3022..234be7f3aa 100644 --- a/gdb/typeprint.c +++ b/gdb/typeprint.c @@ -335,9 +335,9 @@ find_typedef_in_hash (const struct type_print_options *flags, struct type *t) NEW is the new name for a type TYPE. */ void -typedef_print (struct type *type, struct symbol *new, struct ui_file *stream) +typedef_print (struct type *type, struct symbol *newobj, struct ui_file *stream) { - LA_PRINT_TYPEDEF (type, new, stream); + LA_PRINT_TYPEDEF (type, newobj, stream); } /* The default way to print a typedef. */ @@ -499,9 +499,9 @@ whatis_command (char *exp, int from_tty) /* TYPENAME is either the name of a type, or an expression. */ static void -ptype_command (char *typename, int from_tty) +ptype_command (char *type_name, int from_tty) { - whatis_exp (typename, 1); + whatis_exp (type_name, 1); } /* Print integral scalar data VAL, of type TYPE, onto stdio stream STREAM. @@ -592,16 +592,16 @@ print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream) and whatis_command(). */ void -maintenance_print_type (char *typename, int from_tty) +maintenance_print_type (char *type_name, int from_tty) { struct value *val; struct type *type; struct cleanup *old_chain; struct expression *expr; - if (typename != NULL) + if (type_name != NULL) { - expr = parse_expression (typename); + expr = parse_expression (type_name); old_chain = make_cleanup (free_current_contents, &expr); if (expr->elts[0].opcode == OP_TYPE) { |