dax_debug - debugger breakpoint
void dax_debug(void);
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.
% 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);
See attributes(7) for descriptions of the following attributes:
|