pstruct

pstruct

NAME

c2ph, pstruct - Dump C structures as generated from cc -g -S stabs

SYNOPSIS

c2ph [-dpnP] [var=val] [files ...]

OPTIONS

Options:

-w	wide; short for: type_width=45 member_width=35 offset_width=8
-x	hex; short for:  offset_fmt=x offset_width=08 size_fmt=x size_width=04

-n	do not generate perl code  (default when invoked as pstruct)
-p	generate perl code         (default when invoked as c2ph)
-v	generate perl code, with C decls as comments

-i	do NOT recompute sizes for intrinsic datatypes
-a	dump information on intrinsics also

-t	trace execution
-d	spew re