aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1993-01-31 12:39:22 +0000
committerMichael Tiemann <tiemann@cygnus>1993-01-31 12:39:22 +0000
commitd112a0c664d5328c33adfb028f9926c129a9ac7b (patch)
tree0b20eed486158f424b84b87e28dbe55be24a4211 /gdb
parenta50b5d9d6de171f8d4f759d482532c05f1234945 (diff)
downloadgdb-d112a0c664d5328c33adfb028f9926c129a9ac7b.zip
gdb-d112a0c664d5328c33adfb028f9926c129a9ac7b.tar.gz
gdb-d112a0c664d5328c33adfb028f9926c129a9ac7b.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbtypes.c2
2 files changed, 6 insertions, 1 deletions
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 <sys/user.h> 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;