Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-59
priv command
priv command
Sets, unsets, or shows the privilege level of the debugging session. The privilege level
in turn controls whether a user can perform privileged debugging operations such as
setting breakpoints on or stepping in to privileged functions.
To use the priv command to turn privileged debugging on or off, you must be logged on
as the super ID.
Entered with no options, displays the current priv mode status.
ptype command
Prints the definition of a specified data type or the data type of a variable.
data-type
is the data type about which you want information. For C/C++ code, data-type
can have the form class class-name, struct struct-tag, union union-
tag or enum enum-tag.
variable-name
is the name of a variable whose data type you want displayed.
The ptype command is similar to the whatis command except that ptype prints the
detailed description, while whatis prints just the name of the data type.
Example
To display the definition of the struct named a_struct:
priv [ on | off ]
ptype [ data-type | variable-name ]
(eInspect 7,519):ptype a_struct
type = struct type_struct {
int i;
char c;
}