GDB (xrefs)
|
#include "ui-out.h"
Go to the source code of this file.
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 *) |
Functions | |
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 |
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) |
typedef int( catch_errors_ftype) (void *) |
Definition at line 88 of file exceptions.h.
Definition at line 72 of file exceptions.h.
Definition at line 68 of file exceptions.h.
int catch_errors | ( | catch_errors_ftype * | , |
void * | , | ||
char * | , | ||
return_mask | |||
) |
Definition at line 228 of file exceptions.c.
References CATCH, current_uiout, END_CATCH, exception_fprintf(), exception_none, func, gdb_stderr, gdb_exception::reason, RETURN_MASK, RETURN_MASK_ALL, throw_exception(), and TRY.
Referenced by bpstat_check_breakpoint_conditions(), bpstat_check_watchpoint(), breakpoint_re_set(), captured_main(), dump_symtab_1(), find_objc_msgcall_submethod(), gdb_main(), get_windows_debug_event(), m32r_load(), normal_stop(), record_full_message_wrapper_safe(), restore_infcall_control_state(), and update_solib_list().
int catch_exceptions | ( | struct ui_out * | uiout, |
catch_exceptions_ftype * | func, | ||
void * | func_args, | ||
return_mask | mask | ||
) |
Definition at line 162 of file exceptions.c.
References catch_exceptions_with_msg().
Referenced by add_vsyscall_page(), get_current_frame(), and remote_fileio_request().
int catch_exceptions_with_msg | ( | struct ui_out * | uiout, |
catch_exceptions_ftype * | func, | ||
void * | func_args, | ||
char ** | gdberrmsg, | ||
return_mask | mask | ||
) |
Definition at line 171 of file exceptions.c.
References CATCH, current_uiout, END_CATCH, exception_none, exception_print(), gdb_assert, gdb_stderr, gdb_exception::message, gdb_exception::reason, RETURN_MASK, RETURN_MASK_ALL, throw_exception(), and TRY.
Referenced by catch_exceptions(), gdb_breakpoint_query(), gdb_list_thread_ids(), and gdb_thread_select().
void exception_fprintf | ( | struct ui_file * | file, |
struct gdb_exception | e, | ||
const char * | prefix, | ||
... | |||
) |
void exception_print | ( | struct ui_file * | file, |
struct gdb_exception | e | ||
) |
Definition at line 109 of file exceptions.c.
References gdb_exception::message, print_exception(), print_flush(), and gdb_exception::reason.
Referenced by call_site_find_chain(), catch_exceptions_with_msg(), check_status_exception_catchpoint(), core_open(), create_breakpoint(), do_gdb_disassembly(), dwarf2_build_psymtabs(), dwarf2_evaluate_loc_desc_full(), dwarf2_tailcall_sniffer_first(), finish_command_continuation(), handle_command_errors(), inferior_event_handler(), keep_going(), linux_make_corefile_notes(), quit_force(), safe_execute_command(), solib_svr4_r_ldsomap(), solib_svr4_r_map(), start_event_loop(), and tui_rl_switch_mode().