I want to examine and switch a variable in ddb. The variable is static
to a source file, I don't have a symbol in ddb.

I see the address of the symbol with `nm /kernel | grep symname`, but
the addresses listed here are obviously subject to file-specific
offsets. The addresses show up twice and I can verify that the data is
wrong when I just use the hex address in ddb.

How can I get an address suitable for ddb? What are the offsets to add
to the symbol addresses I get from nm?

Thanks
        Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <[EMAIL PROTECTED]> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to