Hi all,

With my recent putback of:

4916519 can't ::print forward-decl typedef
5006620 ::print's enum printing should support power-of-two-flags enums
6824044 mdb ::print output could be more regular

The long-reviled:

        > ::print spa_t
        (forward declaration)
        > 

has been fixed:

        > ::print spa_t
        {
            spa_name
        ...
        }
        > 

I've also added a '-T' option to ::print, which prints
the "base" type of structure members.  For example:

        > ::print -aT proc_t
        0 proc_t <<struct proc>> {
            0 struct vnode *p_exec 
        ...
            34 pid_t <<int>> p_ppid 
        ...
            d0 clock_t <<long>> p_utime 
        ...
            a88 timeout_id_t <<void *>> p_alarmid 
        ...
            c08 rctl_qty_t <<unsigned long long>> p_crypto_mem 
            c10 clock_t <<long>> p_ttime 
        }
        > 

Enjoy!

Cheers,
- jonathan


Reply via email to