X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fguile%2Fscm-type.c;h=6c0c3fd3617c750c1ac2025d3c5d7f8b9a7d03be;hb=ceacbf6edf2c72aaa16280205a9bfc8513e9ed27;hp=e58f1474699691ac02e408cdace237e762aca8e7;hpb=26f16254544873f4d7450f6fbbc8f34bf3d2e359;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c index e58f147469..6c0c3fd361 100644 --- a/gdb/guile/scm-type.c +++ b/gdb/guile/scm-type.c @@ -514,7 +514,7 @@ tyscm_field_smob_to_field (field_smob *f_smob) /* This should be non-NULL by construction. */ gdb_assert (type->fields () != NULL); - return &TYPE_FIELD (type, f_smob->field_num); + return &type->field (f_smob->field_num); } /* Type smob accessors. */