diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
commit | 7a292a7adf506b866905b06b3024c0fd411c4583 (patch) | |
tree | 5b208bb48269b8a82d5c3a5f19c87b45a62a22f4 /gdb/printcmd.c | |
parent | 1996fae84682e8ddd146215dd2959ad1ec924c09 (diff) | |
download | gdb-7a292a7adf506b866905b06b3024c0fd411c4583.zip gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.gz gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.bz2 |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 0f0b8ab..306fa74 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -860,7 +860,6 @@ print_command_1 (exp, inspect, voidprint) if (exp && *exp) { - extern int objectprint; struct type *type; expr = parse_expression (exp); old_chain = make_cleanup ((make_cleanup_func) free_current_contents, @@ -1897,10 +1896,9 @@ print_frame_args (func, fi, num, stream) if (val) { -#ifdef GDB_TARGET_IS_D10V - if (SYMBOL_CLASS(sym) == LOC_REGPARM && TYPE_CODE(VALUE_TYPE(val)) == TYPE_CODE_PTR) + if (GDB_TARGET_IS_D10V + && SYMBOL_CLASS(sym) == LOC_REGPARM && TYPE_CODE(VALUE_TYPE(val)) == TYPE_CODE_PTR) TYPE_LENGTH(VALUE_TYPE(val)) = 2; -#endif val_print (VALUE_TYPE (val), VALUE_CONTENTS (val), 0, VALUE_ADDRESS (val), stream, 0, 0, 2, Val_no_prettyprint); |