From owner-kdb@oss.sgi.com Thu Jan 13 14:18:45 2000 Received: by oss.sgi.com id ; Thu, 13 Jan 2000 14:18:35 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:295 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 13 Jan 2000 14:18:22 -0800 Received: from griffin.engr.sgi.com (griffin.engr.sgi.com [163.154.5.72]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id OAA08229 for ; Thu, 13 Jan 2000 14:22:05 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id OAA24276; Thu, 13 Jan 2000 14:18:07 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200001132218.OAA24276@griffin.engr.sgi.com> Subject: Re: kdb To: srikant@cs.sunysb.edu (Srikant Sharma) Date: Thu, 13 Jan 2000 14:18:07 -0800 (PST) Cc: kdb@oss.sgi.com In-Reply-To: from "Srikant Sharma" at Jan 13, 2000 05:11:01 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing > > Hi, > Thnak you for writing this fantastic tool. > This kdb made my life certainly easier :) > especially while changing from solaris kernel debugging to > linux kernel debugging. > > But this can be made still better. If you are still working > on it and don't mind others coming up with comments .. I can share > some views with you. > Thanks again > Srikant > please do. Thanks, scott We have a mailing list set up (kdb@oss.sgi.com) for it, and a web page (http://oss.sgi.com/projects/kdb) From owner-kdb@oss.sgi.com Wed Jan 19 09:40:27 2000 Received: by oss.sgi.com id ; Wed, 19 Jan 2000 09:40:18 -0800 Received: from daidalos.hpclab.ceid.upatras.gr ([150.140.142.162]:46734 "HELO daidalos.hpclab.ceid.upatras.gr") by oss.sgi.com with SMTP id ; Wed, 19 Jan 2000 09:39:57 -0800 Received: (qmail 11748 invoked from network); 19 Jan 2000 17:46:11 -0000 Received: from aias.hpclab.ceid.upatras.gr (HELO ceid.upatras.gr) (150.140.142.141) by daidalos.hpclab.ceid.upatras.gr with SMTP; 19 Jan 2000 17:46:11 -0000 Message-ID: <3885F82F.C8F27E1@ceid.upatras.gr> Date: Wed, 19 Jan 2000 19:45:19 +0200 From: "Christos D. Antonopoulos" Organization: University of Patras, High Performance Information Systems Laboratory X-Mailer: Mozilla 4.7 [en] (X11; I; IRIX 6.5 IP22) X-Accept-Language: el, en MIME-Version: 1.0 To: kdb@oss.sgi.com Subject: Use of symbolic names Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing This is a newbe question... Is it possible to use symbolic names for variables, functions etc during debugging? If yes how ? Thank you in advance. Christos Antonopoulos From owner-kdb@oss.sgi.com Wed Jan 19 10:18:48 2000 Received: by oss.sgi.com id ; Wed, 19 Jan 2000 10:18:38 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:54801 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Wed, 19 Jan 2000 10:18:21 -0800 Received: from griffin.engr.sgi.com ([163.154.5.72]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id KAA09635 for ; Wed, 19 Jan 2000 10:20:15 -0800 (PST) mail_from (slurn@griffin.engr.sgi.com) Received: (from slurn@localhost) by griffin.engr.sgi.com (980427.SGI.8.8.8/960327.SGI.AUTOCF) id KAA35764; Wed, 19 Jan 2000 10:18:28 -0800 (PST) From: slurn@griffin.engr.sgi.com (Scott Lurndal) Message-Id: <200001191818.KAA35764@griffin.engr.sgi.com> Subject: Re: Use of symbolic names To: antonop@ceid.upatras.gr (Christos D. Antonopoulos) Date: Wed, 19 Jan 2000 10:18:28 -0800 (PST) Cc: kdb@oss.sgi.com In-Reply-To: <3885F82F.C8F27E1@ceid.upatras.gr> from "Christos D. Antonopoulos" at Jan 19, 2000 07:45:19 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing > > This is a newbe question... > > Is it possible to use symbolic names for variables, functions etc during > debugging? If yes how ? Use the names. Symbolic names are supported by kdb. Due to the fact that names with file scope (e.g. static) can be replicated between multiple source files, some names (do_poll comes to mind) may be ambiguous when used with kdb. At this time, only names with global, external or file scope are known to the debugger. Names with function scope or block-local scope will not be visible to the kernel debugger. There are a number of practical reasons that this is so. scott > > Thank you in advance. > > Christos Antonopoulos > From owner-kdb@oss.sgi.com Wed Jan 19 10:36:20 2000 Received: by oss.sgi.com id ; Wed, 19 Jan 2000 10:36:11 -0800 Received: from sbcs.sunysb.edu ([130.245.1.15]:60558 "EHLO sbcs.cs.sunysb.edu") by oss.sgi.com with ESMTP id ; Wed, 19 Jan 2000 10:35:52 -0800 Received: from compserv2 (compserv2 [130.245.1.58]) by sbcs.cs.sunysb.edu (8.9.3/8.9.3) with ESMTP id NAA23389 for ; Wed, 19 Jan 2000 13:34:53 -0500 (EST) Date: Wed, 19 Jan 2000 13:35:04 -0500 (EST) From: Srikant Sharma X-Sender: srikant@compserv2 To: kdb@oss.sgi.com Subject: Re: Use of symbolic names In-Reply-To: <200001191818.KAA35764@griffin.engr.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Actually some global symbolic names are mapped to the wrong addresses. Typically those appearing 'after' kdb_null in ksym.h file. (2nd occurance). The address picked up by kdb for these names is different from the address appearing in System.map file. All the names appearing before this are mapped to proper addresses. I have not verified, but the offset between the proper addresses (in System.map) and the addresses picked by kdb seems to be constant. -- Srikant On Wed, 19 Jan 2000, Scott Lurndal wrote: > > > > This is a newbe question... > > > > Is it possible to use symbolic names for variables, functions etc during > > debugging? If yes how ? > > Use the names. Symbolic names are supported by kdb. Due to the > fact that names with file scope (e.g. static) can be replicated > between multiple source files, some names (do_poll comes to mind) > may be ambiguous when used with kdb. > > At this time, only names with global, external or file scope are > known to the debugger. Names with function scope or block-local > scope will not be visible to the kernel debugger. There are a > number of practical reasons that this is so. > > scott > > > > > Thank you in advance. > > > > Christos Antonopoulos > > > > From owner-kdb@oss.sgi.com Wed Jan 19 20:39:03 2000 Received: by oss.sgi.com id ; Wed, 19 Jan 2000 20:38:54 -0800 Received: from soto.zerosoft.co.jp ([210.140.67.114]:19729 "EHLO soto.zerosoft.co.jp") by oss.sgi.com with ESMTP id ; Wed, 19 Jan 2000 20:38:33 -0800 Received: (from bin@localhost) by soto.zerosoft.co.jp (8.8.5/3.5Wpl5) id NAA23859 for ; Thu, 20 Jan 2000 13:40:11 +0900 (JST) Received: from uchi.zerosoft.co.jp(192.168.181.182) by soto.zerosoft.co.jp via smap (V2.0) id xma023849; Thu, 20 Jan 00 13:39:50 +0900 Received: from ade_dell ([192.168.230.30]) by uchi.zerosoft.co.jp (8.8.5/3.5Wpl5) with SMTP id NAA09900; Thu, 20 Jan 2000 13:39:50 +0900 (JST) Date: Thu, 20 Jan 2000 13:39:51 +0900 From: Masahiro Adegawa To: kdb@oss.sgi.com Subject: Re: Use of symbolic names In-Reply-To: References: <200001191818.KAA35764@griffin.engr.sgi.com> Message-Id: <38869197182.3563ADEGAWA@mail.zerosoft.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.25.07 Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing hi, Your kdb patch version may be v0.5 for kernel-2.2.10. 'arch/i386/vmlinux.lds.S' was added on kernel-2.2.11. masahiro >Actually some global symbolic names are mapped to the wrong >addresses. Typically those appearing 'after' kdb_null in ksym.h file. >(2nd occurance). > >The address picked up by kdb for these names is different from the address >appearing in System.map file. All the names appearing before this >are mapped to proper addresses. > >I have not verified, but the offset between the proper addresses (in System.map) >and the addresses picked by kdb seems to be constant. >-- >Srikant From owner-kdb@oss.sgi.com Sat Jan 22 10:00:34 2000 Received: by oss.sgi.com id ; Sat, 22 Jan 2000 10:00:15 -0800 Received: from medullas.com ([216.23.129.226]:7434 "HELO medullas.com") by oss.sgi.com with SMTP id ; Sat, 22 Jan 2000 09:59:57 -0800 Received: (qmail 2559 invoked by uid 99); 22 Jan 2000 18:05:21 -0000 Date: 22 Jan 2000 18:05:21 -0000 Message-ID: <20000122180521.2558.qmail@medullas.com> To: kdb@oss.sgi.com Subject: LinuxApps: KDB FROM: matthew@linuxapps.com Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hello Information, You are the primary contact for the application listed below. The application has been submitted and is now displayed on the LinuxApps front page. Please visit the site and update the application anytime. name: KDB desc: This debugger is part of the linux kernel and provides a means of examining kernel memory and data structures while the system is operational. Best Regards, Matthew Tebbens Linux Applications - http://www.linuxapps.com