Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 12:46:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252860] arm64 PT_GETDBREGS does not expose watchpoint registers
Message-ID:  <bug-252860-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252860

            Bug ID: 252860
           Summary: arm64 PT_GETDBREGS does not expose watchpoint
                    registers
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mgorny@gentoo.org

We're working on improving arm64/FreeBSD support in LLDB, and we've noticed
that -- unless we're mistaken -- the kernel code responsible for PT_GETDBREGS
and PT_SETDBREGS handles breakpoint registers only.

I'm specifically referring to the fill_dbregs() function at:

https://cgit.freebsd.org/src/tree/sys/arm64/arm64/machdep.c?id=5f66d5a313bf2b2254de92b2915e48e5cf528893#n320

It needs to be extended to include watchpoint registers if we're going to use
hardware watchpoints on FreeBSD.  However, I'm not really sure how to do that
without breaking the ABI -- though I'm not sure if anything is actually using
it at this point.

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

home | help

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