diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12f05fc9bb..dc61420eec 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com) + + * gdbtypes.c (lookup_struct_elt_type): Pass NOERR instead of + zero on recursive call. + Sat Jan 30 19:55:52 1993 John Gilmore (gnu@cygnus.com) * hppah-nat.c: Eliminate and other unnecessary stuff, diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index b5caccff83..57871796fc 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -733,7 +733,7 @@ lookup_struct_elt_type (type, name, noerr) { struct type *t; - t = lookup_struct_elt_type (TYPE_BASECLASS (type, i), name, 0); + t = lookup_struct_elt_type (TYPE_BASECLASS (type, i), name, noerr); if (t != NULL) { return t;