Sun Studio 12: Debugging a Program With dbx

fix Command

The fix command recompiles modified source files and dynamically links the modified functions into the application. It is valid only in native mode. It is not valid on Linux platforms.

Syntax

fix

Fix the current file.

fix file_name file_name

Fix files in list.

fix -f

Force fixing the file, even if source hasn’t been modified.

fix -a

Fix all modified files.

fix -g

Strip -O flags amd add -g flag.

fix -c

Print compilation line (may include some options added internally for use by dbx).

fix -n

Do not execute compile/link commands (use with -v).

fix -v

Verbose mode (overrides dbx fix_verbose environment variable setting).

fix +v

Non-verbose mode (overrides dbx fix_verbose environment variable setting).