From owner-freebsd-hackers Mon Jul 7 23:46:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA01474 for hackers-outgoing; Mon, 7 Jul 1997 23:46:35 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA01469 for ; Mon, 7 Jul 1997 23:46:32 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id QAA06241; Tue, 8 Jul 1997 16:13:51 +0930 (CST) From: Michael Smith Message-Id: <199707080643.QAA06241@genesis.atrad.adelaide.edu.au> Subject: Re: question about DDB In-Reply-To: from Igor at "Jul 8, 97 11:50:13 am" To: igor@blik.samara.su (Igor) Date: Tue, 8 Jul 1997 16:13:51 +0930 (CST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Igor stands accused of saying: > I perform command 'trace' in DDB (kernel configuring with -g option) > and receive next strings > name_of_function(arg1=...,arg2=...,...) in /sys/compile/${MASHINE}:xxxx > .... > where xxxx - integer > Questions: > 1. what is the number xxxx ? There should be a filename in there as well; it's the line number the call was made on. > 2. how I can see value of arg1, arg2, etc (I can see global variable only) I don't know whether ddb groks local symbols or not; the values of the arguments at call time are there already. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[