(call_debugger): Take full care of extending stack limits
authorRichard M. Stallman <rms@gnu.org>
Sat, 25 Jun 2005 14:37:47 +0000 (14:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 25 Jun 2005 14:37:47 +0000 (14:37 +0000)
commit9f5903bb77b7f1f1e7a6598b3c496961e0ee02ea
treebeed15f824cc18d2b0eaf9a4604fcd6181ccf485
parent7bbae30c23e8fc44bc3202c5e30ac593baca659b
(call_debugger): Take full care of extending stack limits
to make space for the debugger, and restore the change afterward.
Bind debug-on-error to nil.
(restore_stack_limits): New subroutine.
(Fsignal): Extend specpdl bound along with eval depth bound,
for calling edebug.  Don't do either one, for calling debugger.
(find_handler_clause): Don't bind debug-on-error here.
Don't unbind anything either.
Temporarily advance max_specpdl_size for calling
internal_with_output_to_temp_buffer.
(grow_specpdl): Don't alter max_specpdl_size before signaling an error.
(syms_of_eval) <max-specpdl-size>: Doc fix.
src/eval.c