blob: dc5f81c9c3337f3cdc73f2e692512f603d973baa (
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
|
id = 1552
title = "newer version(>=5.2.0) of qemu-system-aarch64 cannot debug arm64 linux kernel"
state = "opened"
created_at = "2023-03-21T03:43:48.006Z"
closed_at = "n/a"
labels = ["GDB", "target: arm", "workflow::Needs Info"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1552"
host-os = "Ubuntu22"
host-arch = "x86_64"
qemu-version = "qemu-system-aarch64 6.2.0"
guest-os = "linux"
guest-arch = "aarch64"
description = """"""
reproduce = """1. Run QEMU in on teminal.
2. Run gdb-multiarch in another terminal, for example: gdb-multiarch ./linux-5.10.4/vmlinux
3. In gdb-multiarch, enter three commands in sequence:"target remote localhost:1234"、"b do_sys_open"、"continue"
4. GDB breakpoint cannot take effect
5. If using qemu-system-aarch64 5.0.0(manually compiled),GDB breakpoint can take effect."""
additional = """I tested this problem using different combinations:
Host Os:Ubuntu18/Ubuntu20/Ubuntu22
ARM64 Linux Kernel: 5.4.50/5.10.4
QEMU:qemu 2.11/qemu 4.2/qemu 5.0/qemu 5.2/qemu 6.2/qemu 7
Finally, I found out that arm64 linux kernel cannot be debugged since qemu-system-aarch64 5.2.0."""
|