diff options
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/scm-type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c index 936639c..dd45d8e 100644 --- a/gdb/guile/scm-type.c +++ b/gdb/guile/scm-type.c @@ -151,7 +151,7 @@ tyscm_eq_type_smob (const void *ap, const void *bp) static htab_t tyscm_type_map (struct type *type) { - struct objfile *objfile = type->objfile (); + struct objfile *objfile = type->objfile_owner (); htab_t htab; if (objfile == NULL) @@ -351,7 +351,7 @@ tyscm_copy_type_recursive (void **slot, void *info) { type_smob *t_smob = (type_smob *) *slot; htab_t copied_types = (htab_t) info; - struct objfile *objfile = t_smob->type->objfile (); + struct objfile *objfile = t_smob->type->objfile_owner (); htab_t htab; eqable_gdb_smob **new_slot; type_smob t_smob_for_lookup; |