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); |
void rd_log(const int onoff); |