summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-11-27 20:43:22 +0100
committerAndy Wingo <wingo@pobox.com>2009-12-01 21:00:25 +0100
commitc2c4e281988bf1c5261fde3a74566dc49d8eecf7 (patch)
treee1fe3180a967d61bb6e792105592868ad44b0950
parenta3e923770ef0e491b58aaac94413cba893eebcfc (diff)
downloadguile-c2c4e281988bf1c5261fde3a74566dc49d8eecf7.tar.gz
fix to gdb_eval to use newer interfaces
* libguile/gdbint.c (gdb_eval): Use scm_primitive_eval instead of scm_i_eval_x.
-rw-r--r--libguile/gdbint.c5
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;