change to print header in backtrace
This commit is contained in:
parent
71da060d29
commit
baae283222
@ -490,6 +490,7 @@ static void backtrace_stack_frames (hcl_t* hcl)
|
|||||||
unw_getcontext(&context);
|
unw_getcontext(&context);
|
||||||
unw_init_local(&cursor, &context);
|
unw_init_local(&cursor, &context);
|
||||||
|
|
||||||
|
hcl_logbfmt (hcl, HCL_LOG_UNTYPED | HCL_LOG_DEBUG, "[BACKTRACE]\n");
|
||||||
for (n = 0; unw_step(&cursor) > 0; n++)
|
for (n = 0; unw_step(&cursor) > 0; n++)
|
||||||
{
|
{
|
||||||
unw_word_t ip, sp, off;
|
unw_word_t ip, sp, off;
|
||||||
|
Loading…
Reference in New Issue
Block a user