The following error states can be returned by the rtld-debugger interface (defined in rtld_db.h):
typedef enum { RD_ERR, RD_OK, RD_NOCAPAB, RD_DBERR, RD_NOBASE, RD_NODYNAM, RD_NOMAPS } rd_err_e; |
The following interfaces can be used to gather the error information:
char * rd_errstr(rd_err_e rderr); |
This function returns a descriptive error string describing the error code rderr.