* gdbtypes.h (TYPE_INDEX_TYPE): New macro.
authorPer Bothner <per@bothner.com>
Sat, 17 Sep 1994 00:38:23 +0000 (00:38 +0000)
committerPer Bothner <per@bothner.com>
Sat, 17 Sep 1994 00:38:23 +0000 (00:38 +0000)
commit6f52d064e47ea3b527b8110ba3c09e336559a204
tree37176969fcf18e1edf201cde1f412089480c3851
parent7f4a859c429e6e15378d3d5ead436434a5f52166
* 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.
gdb/ChangeLog
gdb/ch-typeprint.c
gdb/ch-valprint.c
gdb/gdbtypes.h
gdb/stabsread.c