Sun Studio 12: Debugging a Program With dbx

gdb Command

The gdb command supports the gdb command set. It is valid only in native mode.

Syntax

gdb on | off

Usegbd on to enter the gdb command mode under which dbx understands and accepts gdb commands. To exit the gdb command mode and return to the dbx command mode, type gdb off. dbx commands are not accepted while in gdb command mode and vice versa. All debugging settings such as breakpoints are preserved across different command modes.

gdb on | off

 

The following gdb commands are not supported in this release: