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/eval.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/eval.c')
-rw-r--r-- | libguile/eval.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libguile/eval.c b/libguile/eval.c index 69cf36bb4..07233aae2 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -436,25 +436,11 @@ eval (SCM x, SCM env) } scm_t_option scm_debug_opts[] = { - { SCM_OPTION_BOOLEAN, "cheap", 1, - "*This option is now obsolete. Setting it has no effect." }, - { SCM_OPTION_BOOLEAN, "breakpoints", 0, - "*This option is now obsolete. Setting it has no effect." }, - { SCM_OPTION_BOOLEAN, "trace", 0, - "*This option is now obsolete. Setting it has no effect." }, - { SCM_OPTION_BOOLEAN, "procnames", 1, - "*This option is now obsolete. Setting it has no effect." }, { SCM_OPTION_BOOLEAN, "backwards", 0, "Display backtrace in anti-chronological order." }, { SCM_OPTION_INTEGER, "width", 79, "Maximal width of backtrace." }, - { SCM_OPTION_INTEGER, "indent", 10, "Maximal indentation in backtrace." }, - { SCM_OPTION_INTEGER, "frames", 3, - "Maximum number of tail-recursive frames in backtrace." }, - { SCM_OPTION_INTEGER, "maxdepth", 1000, - "Maximal number of stored backtrace frames." }, { SCM_OPTION_INTEGER, "depth", 20, "Maximal length of printed backtrace." }, { SCM_OPTION_BOOLEAN, "backtrace", 0, "Show backtrace on error." }, - { SCM_OPTION_BOOLEAN, "debug", 0, "Use the debugging evaluator." }, /* This default stack limit will be overridden by debug.c:init_stack_limit(), if we have getrlimit() and the stack limit is not INFINITY. But it is still important, as some systems have both the soft and the hard limits set to |