summaryrefslogtreecommitdiff
path: root/libguile/gdbint.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-05-23 12:38:56 +0200
committerAndy Wingo <wingo@pobox.com>2012-05-23 12:38:56 +0200
commit747747ee06ac64c224b91e8f64f810a1159c1675 (patch)
treedcbbde402e06dc2ae70d036c6d474c43c87b031e /libguile/gdbint.c
parent4df52c924dad7c7450dea61186b0820b5da844d1 (diff)
parent2de74cb56e3af44ce624638facfa061603d39c0d (diff)
downloadguile-747747ee06ac64c224b91e8f64f810a1159c1675.tar.gz
Merge remote-tracking branch 'origin/stable-2.0'
This commit removes code that was newly deprecated in stable-2.0. Conflicts: libguile/deprecated.c libguile/deprecated.h libguile/modules.c module/ice-9/boot-9.scm module/ice-9/deprecated.scm
Diffstat (limited to 'libguile/gdbint.c')
-rw-r--r--libguile/gdbint.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libguile/gdbint.c b/libguile/gdbint.c
index b502c7c46..2df3c5c46 100644
--- a/libguile/gdbint.c
+++ b/libguile/gdbint.c
@@ -1,5 +1,5 @@
/* GDB interface for Guile
- * Copyright (C) 1996,1997,1999,2000,2001,2002,2004,2009,2011
+ * Copyright (C) 1996,1997,1999,2000,2001,2002,2004,2009,2011,2012
* Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
@@ -234,8 +234,7 @@ gdb_binding (SCM name, SCM value)
}
SCM_BEGIN_FOREIGN_BLOCK;
{
- SCM var = scm_sym2var (name, SCM_TOP_LEVEL_LOOKUP_CLOSURE, SCM_BOOL_T);
- SCM_VARIABLE_SET (var, value);
+ scm_define (name, value);
}
SCM_END_FOREIGN_BLOCK;
return 0;