summaryrefslogtreecommitdiff
path: root/libguile/gdbint.c
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-05-15 14:57:22 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-05-15 14:57:22 +0000
commit86d31dfe7d0754b863863f6544c75097ef68fe8c (patch)
tree0f78f9d3ace802b80422dcedea25098cf901d05a /libguile/gdbint.c
parent7c33806ae676601f902dbdc0f39c1f0828d68951 (diff)
downloadguile-86d31dfe7d0754b863863f6544c75097ef68fe8c.tar.gz
Merge from mvo-vcell-cleanup-1-branch.
Diffstat (limited to 'libguile/gdbint.c')
-rw-r--r--libguile/gdbint.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libguile/gdbint.c b/libguile/gdbint.c
index 8511365d3..3a28549da 100644
--- a/libguile/gdbint.c
+++ b/libguile/gdbint.c
@@ -300,10 +300,8 @@ gdb_binding (SCM name, SCM value)
}
SCM_BEGIN_FOREIGN_BLOCK;
{
- SCM vcell = scm_sym2vcell (name,
- SCM_TOP_LEVEL_LOOKUP_CLOSURE,
- SCM_BOOL_T);
- SCM_SETCDR (vcell, value);
+ SCM var = scm_sym2var (name, SCM_TOP_LEVEL_LOOKUP_CLOSURE, SCM_BOOL_T);
+ SCM_VARIABLE_SET (var, value);
}
SCM_END_FOREIGN_BLOCK;
return 0;