Commit [5cfc11] Maximize Restore History

Add dyndebug flags backtrace_when_lost, sleep_when_lost

Available when :SB-QSHOW is enabled, these settings can be enabled
through the SBCL_DYNDEBUG environment variable to customize SBCL's
behaviour prior to entry to ldb.

With backtrace_when_lost, lossage shows a backtrace before
continuing with the lossage handler as usual. (Thanks to Dmitry
Kalyanov for this idea, here committed as a dyndebug option.)

With sleep_when_lost activated, the monitor is preempted, and SBCL
will instead cease to do anything except for a OS-level sleep call.
This behaviour has proven useful in preserving a failing thread's
current state until an external debugger can be attached.

David Lichteblau David Lichteblau 2012-09-11

changed src/runtime/interr.c
changed src/runtime/print.c
changed src/runtime/runtime.h
src/runtime/interr.c Diff Switch to side-by-side view
src/runtime/print.c Diff Switch to side-by-side view
src/runtime/runtime.h Diff Switch to side-by-side view