From d112a0c664d5328c33adfb028f9926c129a9ac7b Mon Sep 17 00:00:00 2001 From: Michael Tiemann Date: Sun, 31 Jan 1993 12:39:22 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/gdbtypes.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12f05fc..dc61420 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 b5caccf..5787179 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; -- 2.7.4