Branch: Tag:

2020-05-17

2020-05-17 10:48:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Fix gdb_backtrace() when --without-threads.

3353:    if(of) {    tmp = of->locals - f->locals;    } else { + #ifdef PIKE_THREADS    tmp = ts->state.stack_pointer - f->locals; -  + #else +  tmp = Pike_sp - f->locals; + #endif    }    args = (INT32)tmp;    args = MAXIMUM(MINIMUM(args, f->num_args),0);