Sun Studio 12: Debugging a Program With dbx

Suppressing Error Examples

In the following examples, is a file name, foo and bar are functions, and a.out is the name of an executable.

Do not report memory leaks whose allocation occurs in function foo.

suppress mel in foo

Suppress reporting blocks in use allocated from

suppress biu in

Suppress read from uninitialized in all functions in a.out.

suppress rui in a.out

Do not report read from unallocated in file

suppress rua in

Suppress duplicate free at line 10 of

suppress duf at

Suppress reporting of all errors in function bar.

suppress all in bar

For more information, see suppress Command.