HomeFreeBSD

Add a hackish debugging facility to provide a bit of information about
rS239252Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add a hackish debugging facility to provide a bit of information about
reason for generated trap. The dump of basic signal information and 8
bytes of the faulting instruction are printed on the controlling
terminal of the process, if the machdep.uprintf_signal syscal is
enabled.

The print is the only practical way to debug traps from a.out
processes I am aware of. Because I have to reimplement it each time I
debug an issue with a.out support on amd64, commit the hack to main
tree.

MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS239251: Real hardware, as opposed to QEMU, does not allow to have a call gate
Branches
Unknown
Tags
Unknown

Event Timeline