All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model
@ 2014-02-27  9:45 Jani Kokkonen
  2014-02-27  9:52 ` Peter Maydell
  0 siblings, 1 reply; 5+ messages in thread
From: Jani Kokkonen @ 2014-02-27  9:45 UTC (permalink / raw)
  To: qemu-devel, peter.maydell; +Cc: Claudio Fontana

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1020 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-28  1:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27  9:45 [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model Jani Kokkonen
2014-02-27  9:52 ` Peter Maydell
2014-02-27 13:21   ` Xuebing wang
2014-02-27 15:35     ` Jani Kokkonen
2014-02-28  1:29       ` Xuebing wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.