GDBserver
|
Go to the source code of this file.
Defines | |
#define | gdb_static_assert(expr) extern int never_defined_just_used_for_checking[(expr) ? 1 : -1] |
#define | gdb_assert(expr) |
#define | gdb_assert_fail(assertion, file, line, function) |
#define | gdb_assert_not_reached(message) internal_error (__FILE__, __LINE__, _(message)) |
#define gdb_assert | ( | expr | ) |
((void) ((expr) ? 0 : \ (gdb_assert_fail (#expr, __FILE__, __LINE__, ASSERT_FUNCTION), 0)))
Definition at line 33 of file gdb_assert.h.
Referenced by aarch64_align_watchpoint(), aarch64_dr_state_insert_one_point(), aarch64_dr_state_remove_one_point(), add_traceframe_block(), arm_hwbp_control_initialize(), calculate_allocation(), check_mem_read(), check_mem_write(), clone_fast_tracepoint(), count_events_callback(), debug_reg_change_callback(), download_tracepoint_1(), get_context_regcache(), get_dynamic(), handle_tracepoints(), i386_dr_low_get_addr(), i386_update_inferior_debug_regs(), ia64_fetch_register(), init_register_cache(), linux_common_xfer_osdata(), linux_fork_to_function(), linux_resume_one_lwp(), linux_wait_1(), linux_write_pc(), maybe_move_out_of_jump_pad(), mips_linux_watch_populate_regs(), mips_remove_point(), move_out_of_jump_pad_callback(), need_step_over_p(), new_register_cache(), proceed_one_lwp(), ptrace_supports_feature(), queue_stop_reply_callback(), regcache_cpy(), select_event_lwp_callback(), start_step_over(), stop_all_lwps(), stuck_in_jump_pad_callback(), unsuspend_and_proceed_one_lwp(), unsuspend_one_lwp(), validate_inserted_breakpoint(), and xsnprintf().
#define gdb_assert_fail | ( | assertion, | |
file, | |||
line, | |||
function | |||
) |
internal_error (file, line, _("Assertion `%s' failed."), \ assertion)
Definition at line 57 of file gdb_assert.h.
#define gdb_assert_not_reached | ( | message | ) | internal_error (__FILE__, __LINE__, _(message)) |
Definition at line 69 of file gdb_assert.h.
Referenced by gdb_pipe_cloexec(), linux_ptrace_test_ret_to_nx(), read_one_ptr(), rsp_bp_type_to_target_hw_bp_type(), unmark_fd_no_cloexec(), and x86_linux_read_description().
#define gdb_static_assert | ( | expr | ) | extern int never_defined_just_used_for_checking[(expr) ? 1 : -1] |
Definition at line 25 of file gdb_assert.h.