diff options
Diffstat (limited to 'libguile/gdbint.c')
-rw-r--r-- | libguile/gdbint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libguile/gdbint.c b/libguile/gdbint.c index 77fdbd17a..7a0ebc985 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; |