Classes |
struct | gdb_exception |
Defines |
#define | RETURN_MASK(reason) (1 << (int)(-reason)) |
#define | EXCEPTIONS_SIGJMP_BUF jmp_buf |
#define | EXCEPTIONS_SIGSETJMP(buf) setjmp(buf) |
#define | EXCEPTIONS_SIGLONGJMP(buf, val) longjmp((buf), (val)) |
#define | TRY_CATCH(EXCEPTION, MASK) |
Typedefs |
typedef int( | catch_exceptions_ftype )(struct ui_out *ui_out, void *args) |
typedef void( | catch_exception_ftype )(struct ui_out *ui_out, void *args) |
typedef int( | catch_errors_ftype )(void *) |
typedef void( | catch_command_errors_ftype )(char *, int) |
typedef void( | catch_command_errors_const_ftype )(const char *, int) |
Enumerations |
enum | return_reason { RETURN_QUIT = -2,
RETURN_ERROR
} |
enum | return_mask { RETURN_MASK_QUIT = RETURN_MASK (RETURN_QUIT),
RETURN_MASK_ERROR = RETURN_MASK (RETURN_ERROR),
RETURN_MASK_ALL = (RETURN_MASK_QUIT | RETURN_MASK_ERROR)
} |
enum | errors {
GDB_NO_ERROR,
GENERIC_ERROR,
NOT_FOUND_ERROR,
TLS_NO_LIBRARY_SUPPORT_ERROR,
TLS_LOAD_MODULE_NOT_FOUND_ERROR,
TLS_NOT_ALLOCATED_YET_ERROR,
TLS_GENERIC_ERROR,
XML_PARSE_ERROR,
MEMORY_ERROR,
UNSUPPORTED_ERROR,
NOT_AVAILABLE_ERROR,
NO_ENTRY_VALUE_ERROR,
TARGET_CLOSE_ERROR,
NR_ERRORS
} |
Functions |
EXCEPTIONS_SIGJMP_BUF * | exceptions_state_mc_init (volatile struct gdb_exception *exception, return_mask mask) |
int | exceptions_state_mc_action_iter (void) |
int | exceptions_state_mc_action_iter_1 (void) |
void | exception_print (struct ui_file *file, struct gdb_exception e) |
void | exception_fprintf (struct ui_file *file, struct gdb_exception e, const char *prefix,...) ATTRIBUTE_PRINTF(3 |
void void | throw_exception (struct gdb_exception exception) ATTRIBUTE_NORETURN |
void | throw_verror (enum errors, const char *fmt, va_list ap) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF(2 |
void void | throw_vfatal (const char *fmt, va_list ap) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF(1 |
void void void | throw_error (enum errors error, const char *fmt,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF(2 |
int | catch_exceptions (struct ui_out *uiout, catch_exceptions_ftype *func, void *func_args, return_mask mask) |
int | catch_exceptions_with_msg (struct ui_out *uiout, catch_exceptions_ftype *func, void *func_args, char **gdberrmsg, return_mask mask) |
int | catch_errors (catch_errors_ftype *, void *, char *, return_mask) |
int | catch_command_errors (catch_command_errors_ftype *func, char *arg, int from_tty, return_mask) |
int | catch_command_errors_const (catch_command_errors_const_ftype *func, const char *arg, int from_tty, return_mask) |
Variables |
struct gdb_exception | exception_none |