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 0d55e7de4..351b7ba6e 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 + * Copyright (C) 1996,1997,1999,2000,2001,2002,2004,2009 * Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or @@ -190,8 +190,7 @@ gdb_eval (SCM exp) } SCM_BEGIN_FOREIGN_BLOCK; { - SCM env = scm_top_level_env (SCM_TOP_LEVEL_LOOKUP_CLOSURE); - gdb_result = scm_permanent_object (scm_i_eval_x (exp, env)); + gdb_result = scm_permanent_object (scm_primitive_eval (exp)); } SCM_END_FOREIGN_BLOCK; return 0; |