From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2779 invoked by alias); 21 Dec 2013 09:28:45 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 2764 invoked by uid 89); 21 Dec 2013 09:28:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 21 Dec 2013 09:28:43 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EAF4133F63B; Sat, 21 Dec 2013 09:28:41 +0000 (UTC) From: Mike Frysinger To: Nikos Balkanas Subject: Re: Kernel debugging Date: Sat, 21 Dec 2013 09:28:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.12.1; KDE/4.6.5; x86_64; ; ) Cc: gdb@sourceware.org References: <201312201441.24149.vapier@gentoo.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20124382.dUBa3sWzuy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201312210428.41834.vapier@gentoo.org> X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00073.txt.bz2 --nextPart20124382.dUBa3sWzuy Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 963 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 stil= l=20 need gdb running somewhere else to connect to it to do debugging. which me= ans=20 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 syst= em=20 binaries to boot a linux kernel and then connect your gdb client to it. -mike --nextPart20124382.dUBa3sWzuy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----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----- --nextPart20124382.dUBa3sWzuy--