mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 08:40:19 +02:00
* __scm.h, gc-card.c (SCM_DEBUG_DEBUGGER_SUPPORT,
SCM_DEBUG_DEBUGGING_SUPPORT): Renamed macro SCM_DEBUG_DEBUGGER_SUPPORT to SCM_DEBUG_DEBUGGING_SUPPORT and generalized it to apply not only to C level functions but also to scheme level functions. * debug.c, debug.h, eval.c (make-iloc, scm_make_iloc, iloc?, scm_iloc_p, dbg-make-iloc, scm_dbg_make_iloc, dbg-iloc?, scm_dbg_iloc_p): Moved functions scm_make_iloc, scm_iloc_p to eval.c, made them available under SCM_DEBUG_DEBUGGING_SUPPORT == 1 only and renamed them to scm_dbg_make_iloc, scm_dbg_iloc_p, respectively. * deprecated.h, eval.c, eval.h (SCM_ILOC00, SCM_IDINC, SCM_IDSTMSK): Deprecated. The macro definitions are moved from eval.h into eval.c and a copy is placed into deprecated.h. * eval.c, eval.h (SCM_MAKE_ILOC): Removed from eval.h and placed into eval.c. This definition was not part of the API in any officially released version of guile and thus does not need to go through a phase of deprecation.
This commit is contained in:
parent
e90c3a895d
commit
d0624e391b
9 changed files with 104 additions and 52 deletions
|
@ -256,19 +256,20 @@
|
|||
#define SCM_DEBUG_TYPING_STRICTNESS 1
|
||||
#endif
|
||||
|
||||
/* If SCM_DEBUG_DEBUGGER_SUPPORT is set to 1, guile will provide a set of
|
||||
* special functions that support debugging with a debugger like gdb. The
|
||||
* behaviour of guile is not changed by this macro, only the set of functions
|
||||
* that are available will differ. All functions that are introduced this way
|
||||
* have the prefix 'scm_dbg_'. This allows to easily determine the set of
|
||||
* support functions, given that your debugger provides automatic name
|
||||
* completion. Note that these functions are intended to be used during
|
||||
* interactive debugging sessions only. They are not considered part of
|
||||
* guile's official API. They may change or disappear without notice or
|
||||
* deprecation phase.
|
||||
/* If SCM_DEBUG_DEBUGGING_SUPPORT is set to 1, guile will provide a set of
|
||||
* special functions that support debugging with a debugger like gdb or
|
||||
* debugging of guile internals on the scheme level. The behaviour of guile
|
||||
* is not changed by this macro, only the set of functions that are available
|
||||
* will differ. All functions that are introduced this way have the prefix
|
||||
* 'scm_dbg_' on the C level and the prefix 'dbg-' on the scheme level. This
|
||||
* allows to easily determine the set of support functions, given that your
|
||||
* debugger or repl provide automatic name completion. Note that these
|
||||
* functions are intended to be used during interactive debugging sessions
|
||||
* only. They are not considered part of guile's official API. They may
|
||||
* change or disappear without notice or deprecation phase.
|
||||
*/
|
||||
#ifndef SCM_DEBUG_DEBUGGER_SUPPORT
|
||||
#define SCM_DEBUG_DEBUGGER_SUPPORT SCM_DEBUG
|
||||
#ifndef SCM_DEBUG_DEBUGGING_SUPPORT
|
||||
#define SCM_DEBUG_DEBUGGING_SUPPORT SCM_DEBUG
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue