From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26766 invoked by alias); 9 Jan 2009 11:11:24 -0000 Received: (qmail 26758 invoked by uid 22791); 9 Jan 2009 11:11:23 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from fmmailgate01.web.de (HELO fmmailgate01.web.de) (217.72.192.221) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Jan 2009 11:11:11 +0000 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id E2046FB8733E; Fri, 9 Jan 2009 12:11:07 +0100 (CET) Received: from [88.64.7.77] (helo=[192.168.1.198]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #273) id 1LLFGd-0007NE-00; Fri, 09 Jan 2009 12:11:07 +0100 Message-ID: <496730C3.1000302@web.de> Date: Fri, 09 Jan 2009 11:11:00 -0000 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Caz Yokoyama CC: gdb@sourceware.org Subject: Re: symbolic debug of loadable modules with kgdb light References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3AF12AC0F36B08EEE7EE66C0" X-Sender: jan.kiszka@web.de 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 X-SW-Source: 2009-01/txt/msg00042.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3AF12AC0F36B08EEE7EE66C0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1064 Caz Yokoyama wrote: > Hello, > I started a sourceforge project called kgdb-light > (http://sourceforge.net/projects/kgdb-light/). kgdb-light is a modified g= db > which handles symbol tables of loadable modules of Linux kernel 2.6.26 and > later. Linux kernel 2.6.26 and later integrates kernel debugging under > kernel hacking. Gdb handles symbol table of Linux kernel, but it does not > for loadable modules. Kgdb-light updates internal symbol table by reading > "struct module" in kernel. I also modified gdb to send Magic SysRq, > therefore, target may locate far away. >=20 Sounds very interesting. Did you happend to try the former extension with the QEMU or KVM backend already? Would be _very_ cool if such support became mainline (I'm tired of add-symbol-file with manually looked-up module addresses...). Is it possible to disable the SysRq interrupt for this use case? [ I still consider this variation of the original remote protocol an unfortunate decision of the kernel developers, but back then I wasn't able to convince them to change it. ] Jan --------------enig3AF12AC0F36B08EEE7EE66C0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 257 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAklnMMgACgkQniDOoMHTA+mpigCfYae9jb6RXjsB+bjVYO9sCToC 8dgAnRPpEjK0ZqPOnb7BdHKhcPTgAsV0 =shgh -----END PGP SIGNATURE----- --------------enig3AF12AC0F36B08EEE7EE66C0--