summary refs log tree commit diff stats
path: root/gitlab/issues/target_riscv/host_missing/accel_TCG/1724.toml
blob: 907aa171342b82130f70723c76ee5586aa6501df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
id = 1724
title = "qemu-system-riscv64 can't break by gdb"
state = "opened"
created_at = "2023-06-23T10:32:51.184Z"
closed_at = "n/a"
labels = ["GDB", "accel: TCG", "target: riscv", "workflow::Needs Info"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1724"
host-os = "n/a"
host-arch = "n/a"
qemu-version = "n/a"
guest-os = "n/a"
guest-arch = "n/a"
description = """The qemu-system-riscv64 can't break by gdb.  
( => The target is not responding to interrupt requests.  
Stop debugging it? (y or n) Quit)  

I using old qemu-system-risc64(7.2) don't has this issue.  

This test case running simple OS(riscv-xv6)."""
reproduce = """1.qemu-system-riscv64 -machine virt -bios none -kernel kernel/kernel -m 128M -smp 3 -nographic -global   virtio-mmio.force-legacy=false -drive file=fs.img,if=none,format=raw,id=x0 -device virtio-blk-  device,drive=x0,bus=virtio-mmio-bus.0 -S -gdb tcp::26000  
  
  
2.test@test-VirtualBox:~$ riscv64-unknown-linux-gnu-gdb -q                                                                                                                                                 
(gdb) target remote :26000  
Remote debugging using :26000  
warning: No executable has been specified and target does not support  
determining executable automatically.  Try using the "file" command.  
0x0000000000001000 in ?? ()  
(gdb) c  
Continuing.  

3.check xv6 is running.  
xv6 kernel is booting  

hart 2 starting  
hart 1 starting  
init: starting sh  
$  

4.Can't stop by GDB.  
(gdb) c  
Continuing.  
^C^CThe target is not responding to interrupt requests.  
Stop debugging it? (y or n) Quit  
(gdb)"""
additional = """Test on new QEMU.  

```
commit cab35c73be9d579db105ef73fa8a60728a890098 (HEAD -> master, origin/staging, origin/master, origin/HEAD)
Merge: 48ab886d3d d7ee93e243
Author: Richard Henderson <richard.henderson@linaro.org>
Date:   Tue Jun 20 10:26:53 2023 +0200
```"""