Re: Kernel debugging

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Saturday 21 December 2013 00:46:25 Nikos Balkanas wrote:
> Ty mike,

please don't top post in your replies

> I am aware of kdgb, but it doesn't have gdb's abilities. Besides I
> know extensibly gdb, and I can never find the Sysreq key on my
> keyboard :-(. I will try it next time, but for now I solved my problem
> by reading the kernel source code. I have noticed the remote_vis.c in
> gdb sources. Does this mean I can use gdb remotely to a virtual host?
> How can i do it? Furthermore have gdbstubs incorporated into gdb
> sources, or is it another abandoned project (since 2003 :-()?

are you confusing kdb and kgdb ?  kgdb is just a remote gdb stub.  you still 
need gdb running somewhere else to connect to it to do debugging.  which means 
you have full access to gdb's abilities.

note that QEMU also has a gdb stub in it.  so you could use one of its system 
binaries to boot a linux kernel and then connect your gdb client to it.
-mike
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAABAgAGBQJStV9JAAoJEEFjO5/oN/WBblYP/iIPy4yrF/gy2vGZ5UNRIRjp
nIXtTmJvphGvsVA5BGdRH4lyA+MOX4q6Gcy675CzCwMW6WebMufX6a2UuIpkPmkh
YXPkahXaE0QzVviAclr+PHE2lKtDx6aFpl8TYdR9DWFe530Pw/m/E/5y9KXclvkn
HGYcHhIPKxlEqPix60UKSiUisn1JiIhTtozvg0wwS5zmZsegA70/DQXH3iWs814W
SpxolpR5kCNTO62ueH89IBy24U0cAEElO3W4PeNMzG4vR5iT1daicviL+tKbyCsA
b37hcoRnfcGKvoNtc9JLrrhmqJ2nJxzl2zJdki7q7S9PnCefenW9DMmocI+RQPJV
2D49TKgMTNXse+/rghYT8KP+U3UFBx7YDXhJHpmHCbElJSEBzOfWPAlhouyyGM4D
nw+e+OIDxPQdEP/gTzLhscqvJGYYJVJiibAoAISt1GbO8Onmd4vqivaLw1Bn3HAf
24AhV0oCRKhIiQWpfuQDEJx3jHiHBjCWQAynB/6T7En0LbOcF8Dcu4l9Au8I1N25
zOGp/P8ANWEwmkLBPLK9Z+qJH98mgjz4z30T0p9LMszw9xz05XyMo1zU3iIfAQuO
p2h8B2b5nW2wvnGmtNmJEZ5pmoW3muD3J/9i22c/olyiSvFIT0KyyAwfm6zkUQYF
KUjziE+yxyuwklUpWexH
=avpw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.