kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kvm guest debug using gdb on x86
@ 2009-05-19 18:53 Aneesh Kumar K.V
  2009-05-19 19:10 ` Aneesh Kumar K.V
  0 siblings, 1 reply; 10+ messages in thread
From: Aneesh Kumar K.V @ 2009-05-19 18:53 UTC (permalink / raw)
  To: kvm, jan.kiszka

Hi,

With the latest qemu-kvm and 2.6.30-rc6 kernel i am not able to get
the guest debugging with gdb. I get the following error.

$gdb ./vmlinux
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(gdb) b do_fork
Breakpoint 1 at 0xc106cfc8: file kernel/fork.c, line 1347.
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
[New Thread 1]
Remote 'g' packet reply is too long:
7fa5000000000000000000000000000057e209c10000000004000000000000000000000000000000c8b3d0c100000000c03fd1c100000000a83fd1c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000912d03c1000000000202000060000000680000007b0000007b000000d8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f60b801540000000000000000000007f0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(gdb)

any patches that i can try ?

-aneesh

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

end of thread, other threads:[~2009-05-21  7:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 18:53 kvm guest debug using gdb on x86 Aneesh Kumar K.V
2009-05-19 19:10 ` Aneesh Kumar K.V
2009-05-20  8:10   ` Jan Kiszka
2009-05-20  8:40     ` Aneesh Kumar K.V
2009-05-20  8:57       ` Jan Kiszka
2009-05-20  9:04         ` Aneesh Kumar K.V
2009-05-20  9:41           ` Jan Kiszka
2009-05-20  9:46             ` Jan Kiszka
2009-05-20 10:49               ` Avi Kivity
2009-05-21  7:54                 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).