Fix trap_handler so that the saved_* parameters are set up correctly
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 28 Jun 1990 18:24:36 +0000 (18:24 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Thu, 28 Jun 1990 18:24:36 +0000 (18:24 +0000)
commit8a8d7a7daf56c3512b310cf79fedc64d356f4167
tree3a18133176ce170c0ed7716cf167897a85c66e96
parentaab79d2f8889b48b6ca3ac82673315a76208785a
Fix trap_handler so that the saved_* parameters are set up correctly
before invoking trap_recover.  This fixes the bug by which all traps
were reported as "User microcode reset".

Add find_signal_code_name to generate a string for the signal code
using DECLARE_UX_SIGNAL_CODES defined in uxtrap.h .

Modify setup_trap_frame to use find_signal_code_name .

Fix find_block_address_in_area to not run into an infinite loop (it
was not incrementing the area pointer on most objects).
v7/src/microcode/uxtrap.c