diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2001-07-06 19:17:05 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2001-07-06 19:17:05 +0000 |
commit | efae50153d4577bd05fc34b76c47bdca79982233 (patch) | |
tree | ebfdde719009a58b2f719cb06926eb6aab787aba /gdb/printcmd.c | |
parent | d30f071864b3938dd9d197547c65b33980a243f8 (diff) | |
download | gdb-efae50153d4577bd05fc34b76c47bdca79982233.tar.gz |
Typesystem work initial import.dberlin-typesystem-branchcvs/dberlin-typesystem-branch
Note that this currently isn't building, i'm in the middle of converting make_function_type/lookup_function_type
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 746a0646cc0..57d649dfc27 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -923,9 +923,10 @@ print_command_1 (char *exp, int inspect, int voidprint) if (objectprint && (TYPE_CODE (type) == TYPE_CODE_PTR || TYPE_CODE (type) == TYPE_CODE_REF) - && (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_STRUCT - || TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_UNION)) + && (TYPE_CODE (POINTER_TARGET_TYPE (type)) == TYPE_CODE_STRUCT + || TYPE_CODE (POINTER_TARGET_TYPE (type)) == TYPE_CODE_UNION)) { +#if 0 value_ptr v; v = value_from_vtable_info (val, TYPE_TARGET_TYPE (type)); @@ -934,6 +935,7 @@ print_command_1 (char *exp, int inspect, int voidprint) val = v; type = VALUE_TYPE (val); } +#endif } } else |