From: Alan T. DeKok Date: Mon, 26 Jun 2017 20:01:14 +0000 (-0400) Subject: more DUMP_STACK X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=559f6ff87bf5e20a3bdf99f5099f80e7cae339b7;p=thirdparty%2Ffreeradius-server.git more DUMP_STACK --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index 7c9e51bd07f..2d86992191c 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -1253,6 +1253,11 @@ static rlm_rcode_t unlang_run(REQUEST *request, unlang_stack_t *stack) unlang_stack_frame_t *frame; unlang_action_t action = UNLANG_ACTION_BREAK; +#ifndef NDEBUG + if (DEBUG_ENABLED5) DEBUG("###### unlang_run is starting"); + DUMP_STACK; +#endif + frame = &stack->frame[stack->depth]; /* @@ -1499,6 +1504,8 @@ done_subsection: fr_int2str(mod_rcode_table, result, ""), priority); + DUMP_STACK; + /* * Reset the local variables, and check * for a (local) top frame. @@ -1573,6 +1580,8 @@ void unlang_push_section(REQUEST *request, CONF_SECTION *cs, rlm_rcode_t action) * stack into segments. */ stack->frame[stack->depth].top_frame = true; + + DUMP_STACK; } /** Continue interpreting after a previous push or yield.