summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_HVF/2258
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_HVF/2258')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_HVF/225823
1 files changed, 23 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_HVF/2258 b/gitlab/issues_text/target_missing/host_missing/accel_HVF/2258
new file mode 100644
index 000000000..0ed2d01d9
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_HVF/2258
@@ -0,0 +1,23 @@
+Breakpoint setting not working on apple Mac host
+Description of problem:
+1. When use with parameter "-machine virt,accel=hvf -cpu host" to run launch a emulator, it can't set breakpoint and will report error: "warning: failed to set breakpoint site at 0xffff800081bf03cc for breakpoint 1.1: error: 34 sending the breakpoint request"
+but if not use with parameter "-machine virt -cpu cortex-a57",The breakpoint can be set successfully.
+
+2. Set hardware breakpoint with lldb command "breakpoint set -H -a 0xFFFF800080000000" not report error, but can't hint breakpoint. I try set breakpoint on a old x86 MacOS, It will hint breakpoint successfully.
+
+3. I also try run qemu-system-x86_64 emulator on apple silicon mac, It also can't hint hardware breakping. The command is:
+```
+qemu-system-x86_64 -machine q35,accel=tcg -smp cpus=8  \
+  -kernel arch/x86/boot/bzImage \
+  -append "okaslr"\
+  -nographic -serial mon:stdio \
+  -m 16G \
+  -s -S
+```
+Steps to reproduce:
+1. Launch qemu on Apple silicon Mac. Remember to user "hvf" 
+2. Launch lldb or gdb to set breakpoint.
+3. Set breakpoint and hardware breakpoint.
+4. resume to run qemu by lldb.
+Additional information:
+