On Wed, Feb 21, 2007 at 02:13:08PM +0000, Frank Hofmann wrote:

> I'd be extremely grateful for an ability to get the output of:
> 
>       ::offsetof
>       ::sizeof
>       ::eval
> 
> into an mdb variable; Can this be done somehow ?

For this case, it's simplest to make ::offsetof (and ::sizeof, sure) respect
DCMD_PIPE_OUT (only printing out the value). Then the answer would be something
like:

::offsetof struct module_info mi_lowat | ::map (.+strm_info) | /W 0x3e030

It should be trivial to fix this up.

regards
john

Reply via email to