From owner-kgdb@oss.sgi.com Fri Jun 14 10:03:33 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g5EH3WnC011357 for ; Fri, 14 Jun 2002 10:03:32 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g5EH3WtP011356 for kgdb-outgoing; Fri, 14 Jun 2002 10:03:32 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-kgdb@oss.sgi.com using -f Received: from web14201.mail.yahoo.com (web14201.mail.yahoo.com [216.136.172.143]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g5EH3TnC011352 for ; Fri, 14 Jun 2002 10:03:29 -0700 Message-ID: <20020614170606.41146.qmail@web14201.mail.yahoo.com> Received: from [62.82.225.67] by web14201.mail.yahoo.com via HTTP; Fri, 14 Jun 2002 19:06:06 CEST Date: Fri, 14 Jun 2002 19:06:06 +0200 (CEST) From: =?iso-8859-1?q?Miguel=20Rodr=EDguez?= To: kgdb@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-kgdb@oss.sgi.com Precedence: bulk What about a modular linux kernel debugger?. Using a module instead of a kernel patch permits debugging after booting but sometimes it is what people is looking for.(sorry for my english). Maybe a combination of patch and module, with different functionality. I did one for debugging my final year project. It is not very good code as I learned C programming in this project. By the moment, works only with x86 uniprocessor systems and synchronization is awful but worked for me with kernel 2.4.XX. Also it does not have all the great functionallity kgdb has. I pretended debugging other things appart from Linux with it. That's why I used x86 task gates with all its consequences(TLB flush,efficiency...). The idea is close to Adeos first proposal (overwrite interrupt descriptor table)-> one table of exception functions for each operating system I want to debug, and falls back to Linux int1,int3 handlers when no debugger available(one can attach a serial debugger,..., all tansparent to Linux). _______________________________________________________________ Copa del Mundo de la FIFA 2002 El único lugar de Internet con vídeos de los 64 partidos. ¡Apúntante ya! en http://fifaworldcup.yahoo.com/fc/es/