what about putting a break point at the beginning of the routine. Once
you are there, you should be able to access it and set it. I think. But
then again, a lot of people tell me that I am not very good at that. 

Nick


On Thu, 22 Jul 1999, Martin Cracauer wrote:

 > 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
 > 
 > 

-- 
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy



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

Reply via email to