Discussion:
[Bug 256468] reaching a breakpoint on an armv7 binary on arm64 causes a SIGBUS
b***@freebsd.org
2021-06-07 13:02:30 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256468

Bug ID: 256468
Summary: reaching a breakpoint on an armv7 binary on arm64
causes a SIGBUS
Product: Base System
Version: 13.0-RELEASE
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: freebsd-***@FreeBSD.org
Reporter: ***@fuz.su

It appears that debugging armv7 binaries on arm64 is broken.

I've created an armv7 jail on an arm64 FreeBSD 13.0-RELEASE system, entered it,
and install gdb from ports. Then I executed an arbitrary program under gdb,
set a breakpoint and let the program run (a simple way to do this is to type
"start"). The breakpoint is reached and gdb informs me that a SIGBUS was
delivered to the program; attempting to continue after this breakpoint is
impossible.

I suppose there's something wrong here as debugging on a native armv7 system
seems to work fine.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...