From: Michael Tiemann Date: Sun, 31 Jan 1993 12:39:22 +0000 (+0000) Subject: Sun Jan 31 04:32:48 1993 Michael Tiemann (tiemann@rtl.cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d112a0c664d5328c33adfb028f9926c129a9ac7b;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12f05fc9bb3..dc61420eec6 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 b5caccff83c..57871796fca 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;