diff options
author | Doug Evans <xdje42@gmail.com> | 2014-02-20 09:27:12 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-02-20 09:27:12 -0800 |
commit | 1254eefca2c2af47e8333bbc33d878998703a204 (patch) | |
tree | 263fa84864a3ccfa8a218c0c9df20994d852a7d7 /gdb/guile/scm-symtab.c | |
parent | 8c3cb9fa4405d86e57cc3b02ef38e50ef6747924 (diff) | |
download | gdb-1254eefca2c2af47e8333bbc33d878998703a204.zip gdb-1254eefca2c2af47e8333bbc33d878998703a204.tar.gz gdb-1254eefca2c2af47e8333bbc33d878998703a204.tar.bz2 |
Move containing_scm arg from gdbscm_fill_eqable_gsmob_ptr_slot
to gdbscm_init_eqable_gsmob.
* guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
All callers updated.
(gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
All callers updated.
* guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
(gdbscm_fill_eqable_gsmob_ptr_slot): Update.
Diffstat (limited to 'gdb/guile/scm-symtab.c')
-rw-r--r-- | gdb/guile/scm-symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-symtab.c b/gdb/guile/scm-symtab.c index 910d8b7..7294fea 100644 --- a/gdb/guile/scm-symtab.c +++ b/gdb/guile/scm-symtab.c @@ -184,7 +184,7 @@ stscm_make_symtab_smob (void) st_smob->symtab = NULL; st_scm = scm_new_smob (symtab_smob_tag, (scm_t_bits) st_smob); - gdbscm_init_eqable_gsmob (&st_smob->base); + gdbscm_init_eqable_gsmob (&st_smob->base, st_scm); return st_scm; } @@ -226,7 +226,7 @@ stscm_scm_from_symtab (struct symtab *symtab) st_scm = stscm_make_symtab_smob (); st_smob = (symtab_smob *) SCM_SMOB_DATA (st_scm); st_smob->symtab = symtab; - gdbscm_fill_eqable_gsmob_ptr_slot (slot, &st_smob->base, st_scm); + gdbscm_fill_eqable_gsmob_ptr_slot (slot, &st_smob->base); return st_scm; } |