diff options
author | Andy Wingo <wingo@pobox.com> | 2010-09-24 20:49:46 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-09-24 20:57:01 +0200 |
commit | 3932bdb3af23f2d04502c3fcb8cbe50e6d5b7e6d (patch) | |
tree | 171d51f5520734359bf321576b5c6086b727d5da /libguile/debug.c | |
parent | 925c1bae1f4c23f4f320db00e2b0974b8cfa9b26 (diff) | |
download | guile-3932bdb3af23f2d04502c3fcb8cbe50e6d5b7e6d.tar.gz |
remove a number of debug options
* libguile/private-options.h (SCM_BREAKPOINTS_P, SCM_TRACE_P)
(SCM_REC_PROCNAMES_P, SCM_BACKTRACE_INDENT, SCM_N_FRAMES)
(SCM_BACKTRACE_MAXDEPTH, SCM_DEVAL_P): Remove these internal names.
* libguile/eval.c (scm_debug_opts): Remove the corresponding debug
options -- breakpoints, trace, procnames, indent, frames, maxdepth,
and debug.
* libguile/debug.c (scm_debug_options): Remove SCM_N_FRAMES check.
* test-suite/lib.scm (with-debugging-evaluator*):
* module/scripts/summarize-guile-TODO.scm:
* module/statprof.scm (statprof-reset):
* module/ice-9/boot-9.scm (turn-on-debugging): Remove useless
debug-enable 'debug calls.
* module/ice-9/deprecated.scm (debug-enable): As it seems that 'debug is
a particulatly common option that we just removed, add a deprecation
shim.
* doc/ref/api-options.texi (Debugger options): Update the set of debug
options.
Diffstat (limited to 'libguile/debug.c')
-rw-r--r-- | libguile/debug.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libguile/debug.c b/libguile/debug.c index e4911ff03..ab085f40f 100644 --- a/libguile/debug.c +++ b/libguile/debug.c @@ -75,11 +75,6 @@ SCM_DEFINE (scm_debug_options, "debug-options-interface", 0, 1, 0, scm_dynwind_critical_section (SCM_BOOL_F); ans = scm_options (setting, scm_debug_opts, FUNC_NAME); - if (SCM_N_FRAMES < 1) - { - scm_options (ans, scm_debug_opts, FUNC_NAME); - SCM_OUT_OF_RANGE (1, setting); - } #ifdef STACK_CHECKING scm_stack_checking_enabled_p = SCM_STACK_CHECKING_P; #endif |