Print this page
2574 mdb needs ::printf
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Approved by: ?

*** 2962,2971 **** --- 2962,2973 ---- { "offsetof", "type member", "print the offset of a given struct " "or union member", cmd_offsetof, NULL, mdb_tab_complete_mt }, { "print", "?[-aCdhiLptx] [-c lim] [-l lim] [type] [member|offset ...]", "print the contents of a data structure", cmd_print, print_help, cmd_print_tab }, + { "printf", "?format type member ...", "print and format the " + "member(s) of a data structure", cmd_printf, printf_help }, { "regs", NULL, "print general purpose registers", cmd_notsup }, { "set", "[-wF] [+/-o opt] [-s dist] [-I path] [-L path] [-P prompt]", "get/set debugger properties", cmd_set }, { "showrev", "[-pv]", "print version information", cmd_showrev }, { "sizeof", "type", "print the size of a type", cmd_sizeof, NULL,