On Wed, 6 Jun 2007, Jan Kopriva wrote: [ ... ] > oh ok. Sorry, I should have been more concrete in my previous posts. We > actually aim exactly for this. Another question is how to force mdb in an > elegant way to > recognize the address specified on the mdb prompt to be different object from > memory address (i.e. for the inode use a suffix? that is processed by the > modified command line parser, > so one can do something like this: 6i::print -p struct icommon)
This sounds more like a case for pipes, aka "fake usage scenario": 6::inum2diskaddr | ::print struct icommon Why is this better ? In ordinary mdb, you wouldn't request "1p::print struct proc" either, you'd write "1::pid2proc | ::print struct proc". See the similarity ? FrankH. > > Regarding loading the CTF info, I think you said you have started with the > implementation. If we can look on the code it would be great. Or, if you want > to implement this fully we can connect this with our future work. > > Regards > > Jan > _______________________________________________ > mdb-discuss mailing list > mdb-discuss at opensolaris.org >