mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 16:20:17 +02:00
* debug.h (SCM_RESET_DEBUG_MODE): Bugfix: The old code didn't
clear the CHECK-flags.
This commit is contained in:
parent
e3c37929e0
commit
a8485f4d34
1 changed files with 3 additions and 3 deletions
|
@ -100,9 +100,9 @@ extern int scm_check_entry_p, scm_check_apply_p, scm_check_exit_p;
|
||||||
|
|
||||||
#define SCM_RESET_DEBUG_MODE \
|
#define SCM_RESET_DEBUG_MODE \
|
||||||
{\
|
{\
|
||||||
if (SCM_ENTER_FRAME_P || SCM_BREAKPOINTS_P) CHECK_ENTRY = 1;\
|
CHECK_ENTRY = SCM_ENTER_FRAME_P || SCM_BREAKPOINTS_P;\
|
||||||
if (SCM_APPLY_FRAME_P || SCM_TRACE_P) CHECK_APPLY = 1;\
|
CHECK_APPLY = SCM_APPLY_FRAME_P || SCM_TRACE_P;\
|
||||||
if (SCM_EXIT_FRAME_P || SCM_TRACE_P) CHECK_EXIT = 1;\
|
CHECK_EXIT = SCM_EXIT_FRAME_P || SCM_TRACE_P;\
|
||||||
scm_debug_mode = SCM_DEVAL_P || CHECK_ENTRY || CHECK_APPLY || CHECK_EXIT;\
|
scm_debug_mode = SCM_DEVAL_P || CHECK_ENTRY || CHECK_APPLY || CHECK_EXIT;\
|
||||||
scm_ceval_ptr = scm_debug_mode ? scm_deval : scm_ceval;\
|
scm_ceval_ptr = scm_debug_mode ? scm_deval : scm_ceval;\
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue