show demangle-style

set print object, set print object on

set print object off

show print object

set print static-members,set print static-members on

set print static-members off

show print static-members

set print vtbl, set print vtbl on

set print vtbl off

show print vtbl

arm Decode using the algorithm in the C++ Annotated Reference Manual.

WARNING! This setting alone is not sufficient to allow debugging cfront generated executables. GDB would require further enhancement to permit that.

If you omit style, you will see a list of possible formats.

Display the encoding style currently in use for decoding C++ symbols.

When displaying a pointer to an object, identify the actual (derived) type of the object rather than the declared type, using the virtual function table.

Display only the declared type of objects, without reference to the virtual function table. This is the default setting.

Show whether actual or declared object types are displayed.

Print static members when displaying a C++ object. The default is on.

Do not print static members when displaying a C++ object.

Show whether C++ static members are printed, or not.

Pretty print C++ virtual function tables. The default is off. (The vtbl commands do not work on programs compiled with the HP ANSI C++ compiler (aCC).)

Do not pretty print C++ virtual function tables.

Show whether C++ virtual function tables are pretty printed, or not.

8.8 Value history

Values printed by the print command are saved in the GDB value history. This allows you to refer to them in other expressions. Values are kept until the symbol table is

8.8 Value history

95

Page 95
Image 95
HP gnu source-level debugger 5992-4701 manual Value history