blob: c6e52f34d732060f79802ba0f6a07615dc440fed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
QEMU crashes when reaching a hardware watchpoint
Description of problem:
When using hardware watchpoints, qemu crashes when it hits the watch point.
See https://github.com/zephyrproject-rtos/zephyr/issues/28613 for the same problem
Steps to reproduce:
1. Download https://download.qemu.org/qemu-6.1.0-rc0.tar.xz
2. Download debian-live-10.10.0-i386-standard.iso from https://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/
3. Build qemu with /configure --target-list=i386-softmmu
4. Run build/qemu-system-i386 -boot d -cdrom debian-live-10.10.0-i386-standard.iso -m 512 -icount auto -gdb tcp:localhost:1234 -S -display none
5. Run gdb and inside gdb run "target remote localhost:1234"
6. In gdb, run "watch *0x0000fff0" and "cont"
7. qemu will crash with ```qemu: fatal: Raised interrupt while not in I/O function```
|