8.0 debugging changes.
authorStephen Adams <edu/mit/csail/zurich/adams>
Sat, 12 Jul 1997 04:23:26 +0000 (04:23 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Sat, 12 Jul 1997 04:23:26 +0000 (04:23 +0000)
commit16f575348ee1d438e145ff873927abd23e46dfbd
tree50f109a3b9e7552484ebe65599e9f7ffaf80bed0
parent2c7509b132d487d7abc0d3d6794cf7da11a029f2
8.0 debugging changes.

Added a procedure COMPILED-CODE-BLOCK/NAME to guess the name of the
procedure in the compiled code block.  If the dbg info has only one
top-level procedure then use the name of that procedure, otherwise
return false.  Requires LOAD-DEBUGGING-INFO-ON-DEMAND? to be true to
load the dbg info.

Fixed HARDWARE-TRAP-FRAME/DESCRIBE to use the new 8.0 debugging
information - it was an oversight that it was still trying to use the
old debugging locator to identify the file name for the compiled code
block.  Also use COMPILED-CODE-BLOCK/NAME to identify the procedure.

Together, these changes mean that (with LOAD-DEBUGGING-INFO-ON-DEMAND?
true), SIGSEGVs and SIGFPEs can usually identify the offending
procedure by name.
v8/src/runtime/conpar.scm
v8/src/runtime/infutl.scm
v8/src/runtime/runtime.pkg