Page MenuHomeFreeBSD

arm64: Dump a basic information about generated trap.
Needs ReviewPublic

Authored by dchagin on Thu, May 5, 6:08 PM.

Details

Reviewers
manu
Summary

Follow b6d36090. Add a hackish debugging facility to provide a bit of
information about reason for generated trap. The dump of basic signal
information and registers are printed on the controlling terminal of the
process, if the machdep.uprintf_signal sysctl is enabled.

The print is the practical way to debug Linux binaries.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 45478
Build 42366: arc lint + arc unit

Event Timeline

I’m not opposed to this patch, but isn’t this what core files are for?

I’m not opposed to this patch, but isn’t this what core files are for?

which debugger?

Linux, it’s a Linux core file :-) The easiest way is to use debootstrap port to bootstrap an Ubuntu Bionic userland, then chroot there and do “apt install gdb”. See https://wiki.freebsd.org/LinuxJails.

Linux, it’s a Linux core file :-) The easiest way is to use debootstrap port to bootstrap an Ubuntu Bionic userland, then chroot there and do “apt install gdb”. See https://wiki.freebsd.org/LinuxJails.

ah, thank you)) I am still using gentoo-stage3 tarball