view usr/src/cmd/mdb/test/typedef/tst.union.mdb @ 14143:42d090a37218

3089 want ::typedef 3690 mdb on x86 should be able to print alternate register names 3688 Want mdb -e 3094 libctf should support removing a dynamic type 3095 libctf does not validate arrays correctly 3096 libctf does not validate function types correctly 3689 Want an mdb test suite driver Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
author Robert Mustacchi <rm@joyent.com>
date Wed, 03 Apr 2013 15:25:37 -0700
parents
children
line wrap: on
line source

::typedef -c lp64
::typedef "union ringbearer { int frodo; char sam; long gandalf; }" ringbearer_t;
::sizeof ringbearer_t
::print -at ringbearer_t
::sizeof union ringbearer
::print -at union ringbearer