diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 78c7f475ca..47bcd76dd9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Mon Dec 27 11:07:05 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * cp-valprint.c (cplus_print_value): Call check_stub_type on + TYPE_BASECLASS (type, i) before we look at its name. + * dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL from here . . . * symtab.h: . . . to here. diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index 68a0c9463d..2ff2a8c8a9 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -355,7 +355,10 @@ cplus_print_value (type, valaddr, stream, format, recurse, pretty, dont_print) { char *baddr; int err; - char *basename = TYPE_NAME (TYPE_BASECLASS (type, i)); + char *basename; + + check_stub_type (TYPE_BASECLASS (type, i)); + basename = TYPE_NAME (TYPE_BASECLASS (type, i)); if (BASETYPE_VIA_VIRTUAL (type, i)) {