Use of symbolic names
Srikant Sharma
srikant at cs.sunysb.edu
Wed Jan 19 10:35:04 PST 2000
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
> >
>
>
More information about the kdb
mailing list