Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 1997 16:13:51 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        igor@blik.samara.su (Igor)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: question about DDB
Message-ID:  <199707080643.QAA06241@genesis.atrad.adelaide.edu.au>
In-Reply-To: <AAbCUmpqtB@blik.samara.su> from Igor at "Jul 8, 97 11:50:13 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707080643.QAA06241>