Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jun 2021 13:02:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 256468] reaching a breakpoint on an armv7 binary on arm64 causes a SIGBUS
Message-ID:  <bug-256468-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256468

            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-arm@FreeBSD.org
          Reporter: fuz@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256468-7>