Go to main content

man pages section 3: DAX Library Functions

Exit Print View

Updated: Friday, August 13, 2021
 
 

dax_debug (3DAX)

Name

dax_debug - debugger breakpoint

Synopsis

void dax_debug(void);

Description

This function is called if libdax detects an application programming error, as described in the dax_set_debug(3DAX) man page. Set a debugger breakpoint on this function to examine the state of the application at the point of failure. This function performs no action and cannot be called outside of libdax.

Examples

% setenv DAX_LOG_OPTIONS error
% setenv DAX_LOG_FD 1
% dbx a.out
(dbx) stop in dax_debug
(2) stop in dax_debug
(dbx) run
Running: a.out
(process id 2914)
libdax ERROR: tid=1: Invalid dst format: bytes; must be DAX_BITS
stopped in dax_debug at 0xffffffff4b728a48
0xffffffff4b728a48: dax_debug       :   retl
Current function is main
55           result = dax_and(ctx, flags, src1, src2, dst);

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See Also

dax_set_debug(3DAX), libdax(3LIB)