diff options
author | Per Bothner <per@bothner.com> | 1994-09-17 00:38:23 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-09-17 00:38:23 +0000 |
commit | 6f52d064e47ea3b527b8110ba3c09e336559a204 (patch) | |
tree | 37176969fcf18e1edf201cde1f412089480c3851 /gdb/ch-typeprint.c | |
parent | 7f4a859c429e6e15378d3d5ead436434a5f52166 (diff) | |
download | fsf-binutils-gdb-6f52d064e47ea3b527b8110ba3c09e336559a204.zip fsf-binutils-gdb-6f52d064e47ea3b527b8110ba3c09e336559a204.tar.gz fsf-binutils-gdb-6f52d064e47ea3b527b8110ba3c09e336559a204.tar.bz2 |
* gdbtypes.h (TYPE_INDEX_TYPE): New macro.
* ch-typeprint.c, ch-valprint.c: Use TYPE_INDEX_TYPE.
* ch-valprint.c (chill_val_print): Pass index type directly
(instead of its TYPE_TARGET_TYPE) to print_type_scalar.
* stabsread.c (read_type): Don't set TYPE_FLAG_TARGET_STUB
if the index type is a stub.
Diffstat (limited to 'gdb/ch-typeprint.c')
-rw-r--r-- | gdb/ch-typeprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-typeprint.c b/gdb/ch-typeprint.c index 3311e1f..41a7d6f 100644 --- a/gdb/ch-typeprint.c +++ b/gdb/ch-typeprint.c @@ -141,7 +141,7 @@ chill_type_print_base (type, stream, show, level) case TYPE_CODE_SET: fputs_filtered ("POWERSET ", stream); - chill_print_type (TYPE_FIELD_TYPE (type, 0), "", stream, + chill_print_type (TYPE_INDEX_TYPE (type), "", stream, show - 1, level); break; |