Improved undefined-function backtrace on PPC.
authorAlastair Bridgewater <nyef@arisu.lisphacker.com>
Thu, 1 Dec 2011 22:03:26 +0000 (17:03 -0500)
committerAlastair Bridgewater <nyef@arisu.lisphacker.com>
Mon, 5 Dec 2011 22:58:25 +0000 (17:58 -0500)
commit16fa00e83bc553a6436f0eac7ca9d8455f7763fa
tree4a6dba9dac20f296d5fa13a619df6cb4927ab69f
parent65aa68a4f6a671db80596f136dec549322b28ddd
Improved undefined-function backtrace on PPC.

When there is an existing stack frame (either for a large number
of arguments or for a tail-call), undefined_tramp triggers a
strange case in build_fake_control_stack_frames() that can leave
the OCFP and LRA slots uninitialized, causing a truncated
backtrace.

  * Alter undefined_tramp to always allocate and initialize a
stack frame.

  * While we're here, tighten up the reg_CODE initialization
sequence.
NEWS
src/runtime/ppc-assem.S
tests/debug.impure.lisp