[Bug 256468] reaching a breakpoint on an armv7 binary on arm64 causes a SIGBUS

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.