Is it possible to write a mdb module which has programmatic access to the 
current instruction at %pc?

I'd like to write an mdb module which ::step's a process and looks at each 
instruction to determine if it is reading/writing an address which resolves to 
a 'common' linkage variable (using mdb_lookup_by_addr()).

::regs is able to output the register contents, but I'm not sure how to get 
access to these values via the module API.

Thanks,
-Andrew
-- 
This message posted from opensolaris.org

Reply via email to