Sun Studio 12 Update 1: Debugging a Program With dbx

fault fault

The fault event occurs when the specified fault is encountered. The faults are architecture-dependent. The following set of faults known to dbx is defined in the proc(4) man page.

Fault  

Description  

FLTILL

Illegal instruction 

FLTPRIV

Privileged instruction 

FLTBPT*

Breakpoint trap 

FLTTRACE*

Trace trap (single step) 

FLTACCESS

Memory access (such as alignment) 

FLTBOUNDS

Memory bounds (invalid address) 

FLTIOVF

Integer overflow 

FLTIZDIV

Integer zero divide 

FLTPE

Floating-point exception 

FLTSTACK

Irrecoverable stack fault 

FLTPAGE

Recoverable page fault 

FLTWATCH*

Watchpoint trap 

FLTCPCOVF

CPU performance counter overflow 


Note –

BPT, TRACE, and BOUNDS are used by dbx to implement breakpoints and single-stepping. Handling them might interfere with how dbx works.



Note –

FLTBPT and FLTTRACE are ignored because they would interfere with basic dbx functionality such as breakpoints and single-stepping (see Event Safety).


These faults are taken from /sys/fault.h. fault can be any of those listed above, in uppercase or lowercase, with or without the FLT- prefix, or the actual numerical code.


Note –

The fault event is not available on Linux platforms.