Fix GDB support for macOS hvf
Status from this message: Applied to target-arm.next, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hvf: avoid repeatedly setting trap debug for each cputarget/ | +11 | 2 replies | |
| 2/2 | hvf: only update sysreg from owning threadaccel/ | +6 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Gomez | Alex Bennée |
|---|---|---|
| 1/2 | T-b | R-b |
| 2/2 | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Fix GDB support for macOS hvf
From: Mads Ynddal <[email protected]>
In (recent versions of?) macOS, calls to hv_vcpu_set_sys_reg were failing if they were issued outside of the specific thread that owns the vCPU.
This caused a crash when attaching a debugger through the GDB stub.
This GDB stub has worked before, so it is unclear if Apple changed the behavior of the function in a release of macOS.
Mads Ynddal (2):
hvf: avoid repeatedly setting trap debug for each cpu
hvf: only update sysreg from owning thread
accel/hvf/hvf-all.c | 7 ++++++- target/arm/hvf/hvf.c | 27 +++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-)
Signature · 1 line
2.48.1