qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Debugging aarch64 guest running on Foundationv8 model


From: Jani Kokkonen
Subject: [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model
Date: Thu, 27 Feb 2014 10:45:01 +0100

Hi,

I would like to debug a Qemu guest linux kernel under Foundationv8 model and I tried  the following setup:

1.  Foundationv8 model started with --network=nat and --network-nat-ports=1234=1234 options
2. In Foundationv8 model I started qemu-system-aarch64 with the command line:

./qemu-system-aarch64  -M virt -cpu host  -kernel Image -serial stdio -display none  -enable-kvm -gdb tcp::1234 -S

3. I start debugging the guest kernel with aarch64-linux-gnu-gdb vmlinux  and with target remote:1234 command.

However when I set any breakpoint I will get error message:
"Cannot insert breakpoint 1.
Error accessing memory address 0xffffffc000636498: Unknown error -1"
In addition stepi or any other run related command does not work.

Any ideas to fix this?

-Jani





reply via email to

[Prev in Thread] Current Thread [Next in Thread]