diff options
Diffstat (limited to 'gitlab/issues/target_i386/host_missing/accel_missing/2266.toml')
| -rw-r--r-- | gitlab/issues/target_i386/host_missing/accel_missing/2266.toml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_missing/accel_missing/2266.toml b/gitlab/issues/target_i386/host_missing/accel_missing/2266.toml new file mode 100644 index 000000000..aad4513b8 --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_missing/2266.toml @@ -0,0 +1,77 @@ +id = 2266 +title = "qemu-system-x86_64: stuck on watchpoint hit" +state = "opened" +created_at = "2024-04-04T10:01:04.687Z" +closed_at = "n/a" +labels = ["target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2266" +host-os = "Ubuntu 2022.04" +host-arch = "x86" +qemu-version = "8.2.92 (v9.0.0-rc2-7-g786fd793b8" +guest-os = "Yocto current build" +guest-arch = "x86" +description = """""" +reproduce = """1. `gcc -O0 -g watch-bug.c -o watch-bug` +2. `gdb watch-bug` +3. gdb commands: +``` +b main +r +watch l1 +next [ correct stop on the next line ] +next [ qemu is stuck as watchpoint should be hit ] +```""" +additional = """* NOTE: it works correctly, if 'continue' command is used instead of 'next' + + +`watch-bug.c` +```c +int i0; +long l1; + + +int main(int argc, char* argv[]) +{ + i0 = argc; +\tl1 = i0 * 7; + + return 0; +} + +``` + +Log: +```c +Log: +root@qemux86-64:~# gdb watch-bug +GNU gdb (GDB) 13.2 +Copyright (C) 2023 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +Type "show copying" and "show warranty" for details. +This GDB was configured as "x86_64-poky-linux". +Type "show configuration" for configuration details. +For bug reporting instructions, please see: +<https://www.gnu.org/software/gdb/bugs/>. +Find the GDB manual and other documentation resources online at: + <http://www.gnu.org/software/gdb/documentation/>. + +For help, type "help". +Type "apropos word" to search for commands related to "word"... +Reading symbols from watch-bug... +(gdb) b main +Breakpoint 1 at 0x1134: file watch-bug.c, line 8. +(gdb) r +Starting program: /home/root/watch-bug +[Thread debugging using libthread_db enabled] +Using host libthread_db library "/lib/libthread_db.so.1". + +Breakpoint 1, main (argc=1, argv=0x7fffffffecd8) at watch-bug.c:8 +8 i0 = argc; +(gdb) watch l1 +Hardware watchpoint 2: l1 +(gdb) next +9 l1 = i0 * 7; +(gdb) next +```""" |