|
GDB (xrefs)
|
#include "defs.h"#include "gdbcmd.h"#include "regcache.h"#include "gdbthread.h"#include "event-top.h"#include "completer.h"#include "arch-utils.h"#include "gdbcore.h"#include "exec.h"#include "record.h"#include "record-full.h"#include "elf-bfd.h"#include "gcore.h"#include "event-loop.h"#include "inf-loop.h"#include "gdb_bfd.h"#include "observer.h"#include "infrun.h"#include "common/gdb_unlinker.h"#include "common/byte-vector.h"#include <signal.h>Go to the source code of this file.
Classes | |
| struct | record_full_mem_entry |
| struct | record_full_reg_entry |
| struct | record_full_end_entry |
| struct | record_full_entry |
| struct | record_full_core_buf_entry |
| struct | record_full_breakpoint |
Macros | |
| #define | DEFAULT_RECORD_FULL_INSN_MAX_NUM 200000 |
| #define | RECORD_FULL_IS_REPLAY (record_full_list->next || execution_direction == EXEC_REVERSE) |
| #define | RECORD_FULL_FILE_MAGIC netorder32(0x20091016) |
Typedefs | |
| typedef struct record_full_breakpoint * | record_full_breakpoint_p |
Enumerations | |
| enum | record_full_type { record_full_end = 0, record_full_reg, record_full_mem } |
| #define DEFAULT_RECORD_FULL_INSN_MAX_NUM 200000 |
Definition at line 63 of file record-full.c.
| #define RECORD_FULL_FILE_MAGIC netorder32(0x20091016) |
Definition at line 68 of file record-full.c.
Referenced by record_full_restore(), and record_full_save().
| #define RECORD_FULL_IS_REPLAY (record_full_list->next || execution_direction == EXEC_REVERSE) |
Definition at line 65 of file record-full.c.
Referenced by record_full_commit_resume(), record_full_info(), record_full_insert_breakpoint(), record_full_is_replaying(), record_full_resume(), record_full_stopped_by_watchpoint(), record_full_stopped_data_address(), record_full_store_registers(), record_full_wait_1(), record_full_will_replay(), and record_full_xfer_partial().
| typedef struct record_full_breakpoint* record_full_breakpoint_p |
Definition at line 1579 of file record-full.c.
| enum record_full_type |
| Enumerator | |
|---|---|
| record_full_end | |
| record_full_reg | |
| record_full_mem | |
Definition at line 112 of file record-full.c.
| void _initialize_record_full | ( | void | ) |
Definition at line 2795 of file record-full.c.
References _, add_alias_cmd(), add_cmd(), add_deprecated_target_alias(), add_prefix_cmd(), add_setshow_boolean_cmd(), add_setshow_uinteger_cmd(), add_target(), class_obscure, class_support, cmd_record_full_restore(), cmd_record_full_start(), deprecate_cmd(), filename_completer(), init_record_full_core_ops(), init_record_full_ops(), record_full_entry::next, no_class, record_full_entry::prev, record_cmdlist, record_full_cmdlist, record_full_core_ops, record_full_end, record_full_first, record_full_insn_max_num, record_full_memory_query, record_full_ops, record_full_stop_at_limit, set_cmd_completer(), set_record_cmdlist, set_record_full_cmdlist, set_record_full_command(), set_record_full_insn_max_num(), show_record_cmdlist, show_record_full_cmdlist, show_record_full_command(), and record_full_entry::type.
|
inlinestatic |
Definition at line 2287 of file record-full.c.
References _, record_full_core_buf_entry::buf, error(), and offset.
Referenced by record_full_restore().
|
inlinestatic |
Definition at line 2496 of file record-full.c.
References _, error(), and offset.
Referenced by record_full_save().
|
static |
Definition at line 2512 of file record-full.c.
References core_file_command(), and record_full_open().
Referenced by _initialize_record_full().
|
static |
Definition at line 2755 of file record-full.c.
References execute_command().
Referenced by _initialize_record_full().
| DEF_VEC_P | ( | record_full_breakpoint_p | ) |
|
static |
Definition at line 2190 of file record-full.c.
References OPS_MAGIC, record_full_async(), record_full_can_execute_reverse(), record_full_close(), record_full_core_fetch_registers(), record_full_core_has_execution(), record_full_core_insert_breakpoint(), record_full_core_kill(), record_full_core_ops, record_full_core_prepare_to_store(), record_full_core_remove_breakpoint(), record_full_core_resume(), record_full_core_store_registers(), record_full_core_xfer_partial(), record_full_delete(), record_full_execution_direction(), record_full_get_bookmark(), record_full_goto(), record_full_goto_begin(), record_full_goto_bookmark(), record_full_goto_end(), record_full_info(), record_full_is_replaying(), record_full_open(), record_full_record_method(), record_full_stopped_by_hw_breakpoint(), record_full_stopped_by_sw_breakpoint(), record_full_stopped_by_watchpoint(), record_full_stopped_data_address(), record_full_supports_stopped_by_hw_breakpoint(), record_full_supports_stopped_by_sw_breakpoint(), record_full_wait(), record_full_will_replay(), record_stratum, target_ops::to_async, target_ops::to_can_execute_reverse, target_ops::to_close, target_ops::to_delete_record, target_ops::to_doc, target_ops::to_execution_direction, target_ops::to_fetch_registers, target_ops::to_get_bookmark, target_ops::to_goto_bookmark, target_ops::to_goto_record, target_ops::to_goto_record_begin, target_ops::to_goto_record_end, target_ops::to_has_execution, target_ops::to_info_record, target_ops::to_insert_breakpoint, target_ops::to_kill, target_ops::to_longname, target_ops::to_magic, target_ops::to_open, target_ops::to_prepare_to_store, target_ops::to_record_is_replaying, target_ops::to_record_method, target_ops::to_record_will_replay, target_ops::to_remove_breakpoint, target_ops::to_resume, target_ops::to_shortname, target_ops::to_stopped_by_hw_breakpoint, target_ops::to_stopped_by_sw_breakpoint, target_ops::to_stopped_by_watchpoint, target_ops::to_stopped_data_address, target_ops::to_store_registers, target_ops::to_stratum, target_ops::to_supports_stopped_by_hw_breakpoint, target_ops::to_supports_stopped_by_sw_breakpoint, target_ops::to_wait, and target_ops::to_xfer_partial.
Referenced by _initialize_record_full().
|
static |
Definition at line 1944 of file record-full.c.
References OPS_MAGIC, record_detach(), record_disconnect(), record_full_async(), record_full_can_execute_reverse(), record_full_close(), record_full_commit_resume(), record_full_delete(), record_full_execution_direction(), record_full_get_bookmark(), record_full_goto(), record_full_goto_begin(), record_full_goto_bookmark(), record_full_goto_end(), record_full_info(), record_full_insert_breakpoint(), record_full_is_replaying(), record_full_open(), record_full_ops, record_full_record_method(), record_full_remove_breakpoint(), record_full_resume(), record_full_save(), record_full_stop_replaying(), record_full_stopped_by_hw_breakpoint(), record_full_stopped_by_sw_breakpoint(), record_full_stopped_by_watchpoint(), record_full_stopped_data_address(), record_full_store_registers(), record_full_supports_stopped_by_hw_breakpoint(), record_full_supports_stopped_by_sw_breakpoint(), record_full_wait(), record_full_will_replay(), record_full_xfer_partial(), record_kill(), record_mourn_inferior(), record_stratum, target_ops::to_async, target_ops::to_can_execute_reverse, target_ops::to_close, target_ops::to_commit_resume, target_ops::to_delete_record, target_ops::to_detach, target_ops::to_disconnect, target_ops::to_doc, target_ops::to_execution_direction, target_ops::to_get_bookmark, target_ops::to_goto_bookmark, target_ops::to_goto_record, target_ops::to_goto_record_begin, target_ops::to_goto_record_end, target_ops::to_info_record, target_ops::to_insert_breakpoint, target_ops::to_kill, target_ops::to_longname, target_ops::to_magic, target_ops::to_mourn_inferior, target_ops::to_open, target_ops::to_record_is_replaying, target_ops::to_record_method, target_ops::to_record_stop_replaying, target_ops::to_record_will_replay, target_ops::to_remove_breakpoint, target_ops::to_resume, target_ops::to_save_record, target_ops::to_shortname, target_ops::to_stopped_by_hw_breakpoint, target_ops::to_stopped_by_sw_breakpoint, target_ops::to_stopped_by_watchpoint, target_ops::to_stopped_data_address, target_ops::to_store_registers, target_ops::to_stratum, target_ops::to_supports_stopped_by_hw_breakpoint, target_ops::to_supports_stopped_by_sw_breakpoint, target_ops::to_wait, and target_ops::to_xfer_partial.
Referenced by _initialize_record_full().
|
inlinestatic |
Definition at line 2310 of file record-full.c.
References store_unsigned_integer().
Referenced by record_full_restore(), and record_full_save().
|
inlinestatic |
Definition at line 2300 of file record-full.c.
References store_unsigned_integer().
Referenced by record_full_restore(), and record_full_save().
|
static |
Definition at line 423 of file record-full.c.
References fprintf_unfiltered(), gdb_stdlog, host_address_to_string, record_full_entry::next, record_full_entry::prev, record_debug, record_full_arch_list_head, and record_full_arch_list_tail.
Referenced by record_full_arch_list_add_end(), record_full_arch_list_add_mem(), record_full_arch_list_add_reg(), and record_full_restore().
| int record_full_arch_list_add_end | ( | void | ) |
Definition at line 522 of file record-full.c.
References record_full_entry::end, fprintf_unfiltered(), gdb_stdlog, record_full_end_entry::insn_num, record_debug, record_full_arch_list_add(), record_full_end_alloc(), record_full_insn_count, record_full_end_entry::sigval, and record_full_entry::u.
Referenced by aarch64_process_record(), amd64_linux_record_signal(), arm_process_record(), i386_linux_record_signal(), i386_process_record(), moxie_process_record(), ppc_linux_record_signal(), ppc_process_record(), record_full_registers_change(), record_full_xfer_partial(), s390_linux_record_signal(), and s390_process_record().
| int record_full_arch_list_add_mem | ( | CORE_ADDR | addr, |
| int | len | ||
| ) |
Definition at line 491 of file record-full.c.
References fprintf_unfiltered(), gdb_stdlog, paddress(), record_debug, record_full_arch_list_add(), record_full_get_loc(), record_full_mem_alloc(), record_full_mem_release(), record_read_memory(), and target_gdbarch().
Referenced by aarch64_process_record(), amd64_linux_record_signal(), amd64_linux_syscall_record_common(), arm_process_record(), i386_linux_record_signal(), i386_process_record(), i386_record_lea_modrm(), i386_record_push(), moxie_process_record(), ppc_linux_record_signal(), ppc_process_record(), ppc_process_record_op31(), ppc_process_record_op61(), record_full_xfer_partial(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), record_mem_at_reg(), s390_linux_record_signal(), and s390_process_record().
| int record_full_arch_list_add_reg | ( | struct regcache * | regcache, |
| int | regnum | ||
| ) |
Definition at line 468 of file record-full.c.
References fprintf_unfiltered(), gdb_stdlog, record_debug, record_full_arch_list_add(), record_full_get_loc(), record_full_reg_alloc(), regcache_raw_read(), and regnum.
Referenced by aarch64_all_but_pc_registers_record(), aarch64_linux_syscall_record(), aarch64_process_record(), amd64_all_but_ip_registers_record(), amd64_linux_record_signal(), amd64_linux_syscall_record_common(), arm_all_but_pc_registers_record(), arm_linux_syscall_record(), arm_process_record(), i386_all_but_ip_registers_record(), i386_linux_intx80_sysenter_syscall_record(), i386_linux_record_signal(), i386_process_record(), i386_record_floats(), i386_record_push(), moxie_process_record(), ppc_linux_record_signal(), ppc_linux_syscall_record(), ppc_process_record(), ppc_process_record_op19(), ppc_process_record_op31(), ppc_process_record_op4(), ppc_process_record_op59(), ppc_process_record_op60(), ppc_process_record_op63(), ppc_record_vsr(), record_full_registers_change(), s390_all_but_pc_registers_record(), s390_linux_record_signal(), s390_linux_syscall_record(), s390_process_record(), s390_record_gpr_g(), s390_record_gpr_h(), and s390_record_vr().
|
static |
Definition at line 557 of file record-full.c.
References record_full_arch_list_tail, and record_full_list_release().
Referenced by record_full_message(), and record_full_restore().
|
static |
Definition at line 895 of file record-full.c.
References target_ops::beneath, clear_async_event_handler(), enable, mark_async_event_handler(), record_full_async_inferior_event_token, and target_ops::to_async.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 767 of file record-full.c.
References INF_REG_EVENT, and inferior_event_handler().
Referenced by record_full_open().
|
static |
Definition at line 1717 of file record-full.c.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 540 of file record-full.c.
References _, error(), record_full_insn_max_num, record_full_insn_num, record_full_stop_at_limit, and yquery().
Referenced by record_full_message(), record_full_registers_change(), and record_full_xfer_partial().
|
static |
Definition at line 860 of file record-full.c.
References delete_async_event_handler(), fprintf_unfiltered(), gdb_stdlog, record_full_core_buf_entry::prev, record_debug, record_full_async_inferior_event_token, record_full_core_buf_list, record_full_core_regbuf, record_full_list, record_full_list_release(), and xfree().
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 980 of file record-full.c.
References target_ops::beneath, RECORD_FULL_IS_REPLAY, and target_ops::to_commit_resume.
Referenced by init_record_full_ops().
|
static |
Definition at line 2023 of file record-full.c.
References regcache::arch(), gdbarch_num_regs(), MAX_REGISTER_SIZE, record_full_core_regbuf, and regcache_raw_supply().
Referenced by init_record_full_core_ops().
|
static |
Definition at line 2184 of file record-full.c.
Referenced by init_record_full_core_ops().
|
static |
Definition at line 2163 of file record-full.c.
Referenced by init_record_full_core_ops().
|
static |
Definition at line 2012 of file record-full.c.
References fprintf_unfiltered(), gdb_stdlog, record_debug, record_full_core_ops, and unpush_target().
Referenced by init_record_full_core_ops().
|
static |
Definition at line 775 of file record-full.c.
References _, regcache::arch(), build_section_table(), core_bfd, error(), gdbarch_num_regs(), get_current_regcache(), MAX_REGISTER_SIZE, push_target(), record_full_core_end, record_full_core_ops, record_full_core_regbuf, record_full_core_start, record_full_restore(), regcache_raw_collect(), regnum, target_fetch_registers(), xfree(), and xmalloc().
Referenced by record_full_open().
|
static |
Definition at line 2044 of file record-full.c.
Referenced by init_record_full_core_ops().
|
static |
Definition at line 2173 of file record-full.c.
Referenced by init_record_full_core_ops().
|
static |
Definition at line 1996 of file record-full.c.
References execution_direction, record_full_execution_dir, record_full_resume_step, record_full_resumed, target_async(), and target_can_async_p.
Referenced by init_record_full_core_ops().
|
static |
Definition at line 2052 of file record-full.c.
References _, error(), MAX_REGISTER_SIZE, record_full_core_regbuf, record_full_gdb_operation_disable, and regcache_raw_collect().
Referenced by init_record_full_core_ops().
|
static |
Definition at line 2066 of file record-full.c.
References _, target_section::addr, target_ops::beneath, record_full_core_buf_entry::buf, target_section::endaddr, error(), memset(), offset, record_full_core_buf_entry::p, record_full_core_buf_entry::prev, record_full_core_buf_list, record_full_core_end, record_full_core_start, record_full_gdb_operation_disable, TARGET_OBJECT_MEMORY, TARGET_XFER_E_IO, TARGET_XFER_EOF, TARGET_XFER_OK, target_section::the_bfd_section, target_ops::to_xfer_partial, xfree(), and XNEW.
Referenced by init_record_full_core_ops().
|
static |
Definition at line 1838 of file record-full.c.
References record_full_list, and record_full_list_release_following().
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
inlinestatic |
Definition at line 301 of file record-full.c.
References record_full_end, record_full_entry::type, and XCNEW.
Referenced by record_full_arch_list_add_end(), and record_full_restore().
|
inlinestatic |
Definition at line 314 of file record-full.c.
References xfree().
Referenced by record_full_entry_release().
|
inlinestatic |
Definition at line 323 of file record-full.c.
References record_full_end, record_full_end_release(), record_full_mem, record_full_mem_release(), record_full_reg, record_full_reg_release(), type, and record_full_entry::type.
Referenced by record_full_list_release(), record_full_list_release_first(), and record_full_list_release_following().
|
inlinestatic |
Definition at line 676 of file record-full.c.
References _, record_full_mem_entry::addr, regcache::aspace(), do_cleanups(), fprintf_unfiltered(), gdb_stdlog, hardware_watchpoint_inserted_in_range(), host_address_to_string, record_full_mem_entry::len, record_full_reg_entry::len, make_cleanup(), record_full_entry::mem, record_full_mem_entry::mem_entry_not_accessible, record_full_reg_entry::num, paddress(), record_debug, record_full_get_loc(), record_full_mem, record_full_reg, record_full_stop_reason, record_read_memory(), record_full_entry::reg, regcache_cooked_read(), regcache_cooked_write(), TARGET_STOPPED_BY_WATCHPOINT, target_write_memory(), record_full_entry::type, record_full_entry::u, warning(), xfree(), and xmalloc().
Referenced by record_full_goto_insn(), record_full_save(), and record_full_wait_1().
|
static |
Definition at line 1778 of file record-full.c.
References record_full_execution_dir.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
| scoped_restore_tmpl<int> record_full_gdb_operation_disable_set | ( | void | ) |
Definition at line 662 of file record-full.c.
References make_scoped_restore(), and record_full_gdb_operation_disable.
Referenced by adjust_pc_after_break(), handle_signal_stop(), record_full_goto_insn(), record_full_insert_breakpoint(), record_full_remove_breakpoint(), record_full_save(), and record_full_wait_1().
|
static |
Definition at line 1725 of file record-full.c.
References record_full_entry::end, fprintf_unfiltered(), gdb_stdlog, record_full_end_entry::insn_num, pulongest(), record_debug, record_full_end, record_full_list, record_full_entry::type, and record_full_entry::u.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
inlinestatic |
Definition at line 445 of file record-full.c.
References record_full_mem_entry::buf, record_full_reg_entry::buf, gdb_assert_not_reached, record_full_mem_entry::len, record_full_reg_entry::len, record_full_entry::mem, record_full_mem_entry::ptr, record_full_reg_entry::ptr, record_full_end, record_full_mem, record_full_reg, record_full_entry::reg, record_full_entry::type, record_full_mem_entry::u, record_full_reg_entry::u, and record_full_entry::u.
Referenced by record_full_arch_list_add_mem(), record_full_arch_list_add_reg(), record_full_exec_insn(), record_full_restore(), and record_full_save().
|
static |
Definition at line 1924 of file record-full.c.
References record_full_entry::end, record_full_end_entry::insn_num, record_full_entry::next, record_full_end, record_full_first, record_full_goto_entry(), record_full_entry::type, and record_full_entry::u.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1894 of file record-full.c.
References record_full_entry::next, record_full_end, record_full_first, record_full_goto_entry(), and record_full_entry::type.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1749 of file record-full.c.
References _, do_cleanups(), error(), fprintf_unfiltered(), gdb_stdlog, make_cleanup(), null_cleanup(), record_debug, record_goto(), savestring(), and xfree().
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1908 of file record-full.c.
References record_full_entry::next, record_full_entry::prev, record_full_end, record_full_goto_entry(), record_full_list, and record_full_entry::type.
Referenced by init_record_full_core_ops(), init_record_full_ops(), and record_full_stop_replaying().
|
static |
Definition at line 1866 of file record-full.c.
References _, record_full_entry::end, error(), EXEC_FORWARD, EXEC_REVERSE, get_current_regcache(), get_selected_frame(), record_full_end_entry::insn_num, print_stack_frame(), printf_filtered(), pulongest(), record_full_goto_insn(), record_full_list, regcache_read_pc(), registers_changed(), reinit_frame_cache(), SRC_AND_LOC, stop_pc, and record_full_entry::u.
Referenced by record_full_goto(), record_full_goto_begin(), and record_full_goto_end().
|
static |
Definition at line 2728 of file record-full.c.
References regcache::arch(), EXEC_FORWARD, EXEC_REVERSE, get_current_regcache(), record_full_entry::next, record_full_entry::prev, record_full_exec_insn(), record_full_gdb_operation_disable_set(), and record_full_list.
Referenced by record_full_goto_entry().
|
static |
Definition at line 1792 of file record-full.c.
References _, record_full_entry::end, record_full_end_entry::insn_num, record_full_entry::next, printf_filtered(), pulongest(), record_full_end, record_full_first, record_full_insn_count, record_full_insn_max_num, record_full_insn_num, RECORD_FULL_IS_REPLAY, record_full_list, record_full_entry::type, and record_full_entry::u.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1608 of file record-full.c.
References iterate_over_bp_locations(), and VEC_free.
Referenced by record_full_open().
|
static |
Definition at line 1620 of file record-full.c.
References target_ops::beneath, bp, gdb_assert, record_full_breakpoint::in_target_beneath, bp_target_info::placed_address, bp_target_info::placed_address_space, record_full_gdb_operation_disable_set(), RECORD_FULL_IS_REPLAY, target_ops::to_insert_breakpoint, VEC_iterate, VEC_safe_push, and XNEW.
Referenced by init_record_full_ops().
|
static |
Definition at line 1846 of file record-full.c.
References RECORD_FULL_IS_REPLAY.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
| int record_full_is_used | ( | void | ) |
Definition at line 216 of file record-full.c.
References find_record_target(), record_full_core_ops, and record_full_ops.
Referenced by adjust_pc_after_break(), handle_signal_stop(), and s390_software_single_step().
|
static |
Definition at line 344 of file record-full.c.
References record_full_entry::next, record_full_entry::prev, record_full_entry_release(), record_full_first, and record_full_insn_num.
Referenced by record_full_arch_list_cleanups(), record_full_close(), record_full_registers_change(), and record_full_xfer_partial().
|
static |
Definition at line 393 of file record-full.c.
References gdb_assert, record_full_entry::next, record_full_entry::prev, record_full_end, record_full_entry_release(), record_full_first, and record_full_insn_num.
Referenced by record_full_message(), record_full_registers_change(), record_full_xfer_partial(), and set_record_full_insn_max_num().
|
static |
Definition at line 370 of file record-full.c.
References record_full_entry::next, record_full_end, record_full_entry_release(), record_full_insn_count, and record_full_insn_num.
Referenced by record_full_delete(), record_full_store_registers(), and record_full_xfer_partial().
|
inlinestatic |
Definition at line 273 of file record-full.c.
References record_full_mem_entry::addr, record_full_mem_entry::buf, record_full_mem_entry::len, record_full_entry::mem, record_full_mem_entry::ptr, record_full_mem, record_full_entry::type, record_full_mem_entry::u, record_full_entry::u, XCNEW, and xmalloc().
Referenced by record_full_arch_list_add_mem(), and record_full_restore().
|
inlinestatic |
Definition at line 290 of file record-full.c.
References record_full_mem_entry::buf, gdb_assert, record_full_mem_entry::len, record_full_entry::mem, record_full_mem_entry::ptr, record_full_mem, record_full_entry::type, record_full_mem_entry::u, record_full_entry::u, and xfree().
Referenced by record_full_arch_list_add_mem(), and record_full_entry_release().
|
static |
Definition at line 569 of file record-full.c.
References _, regcache::arch(), discard_cleanups(), record_full_entry::end, error(), gdb_assert, gdbarch_process_record(), gdbarch_process_record_signal(), gdbarch_process_record_signal_p(), make_cleanup(), record_full_entry::next, record_full_entry::prev, record_full_arch_list_cleanups(), record_full_arch_list_head, record_full_arch_list_tail, record_full_check_insn_num(), record_full_end, record_full_first, record_full_insn_max_num, record_full_insn_num, record_full_list, record_full_list_release_first(), regcache_read_pc(), record_full_end_entry::sigval, record_full_entry::type, and record_full_entry::u.
Referenced by record_full_message_wrapper_safe(), and record_full_resume().
|
static |
Definition at line 639 of file record-full.c.
References CATCH, END_CATCH, exception_print(), gdb_stderr, record_full_message(), RETURN_MASK_ALL, and TRY.
Referenced by record_full_wait_1().
|
static |
Definition at line 829 of file record-full.c.
References core_bfd, create_async_event_handler(), current_inferior(), fprintf_unfiltered(), gdb_stdlog, name, record_full_entry::next, observer_notify_record_changed(), record_debug, record_full_async_inferior_event_handler(), record_full_async_inferior_event_token, record_full_core_open_1(), record_full_first, record_full_init_record_breakpoints(), record_full_insn_count, record_full_insn_num, record_full_list, record_full_open_1(), and record_preopen().
Referenced by cmd_record_full_restore(), init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 805 of file record-full.c.
References _, error(), fprintf_unfiltered(), gdb_stdlog, gdbarch_process_record_p(), non_stop, push_target(), record_debug, record_full_ops, target_gdbarch(), and target_has_execution.
Referenced by record_full_open().
| enum record_method record_full_record_method | ( | struct target_ops * | self, |
| ptid_t | ptid | ||
| ) |
Definition at line 1786 of file record-full.c.
References RECORD_METHOD_FULL.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
inlinestatic |
Definition at line 244 of file record-full.c.
References regcache::arch(), record_full_reg_entry::buf, record_full_reg_entry::len, record_full_reg_entry::num, record_full_reg_entry::ptr, record_full_reg, record_full_entry::reg, register_size(), regnum, record_full_entry::type, record_full_reg_entry::u, record_full_entry::u, XCNEW, and xmalloc().
Referenced by record_full_arch_list_add_reg(), and record_full_restore().
|
inlinestatic |
Definition at line 262 of file record-full.c.
References record_full_reg_entry::buf, gdb_assert, record_full_reg_entry::len, record_full_reg_entry::ptr, record_full_reg, record_full_entry::reg, record_full_entry::type, record_full_reg_entry::u, record_full_entry::u, and xfree().
Referenced by record_full_entry_release().
|
static |
Definition at line 1393 of file record-full.c.
References _, regcache::arch(), error(), gdbarch_num_regs(), record_full_entry::next, record_full_entry::prev, record_full_arch_list_add_end(), record_full_arch_list_add_reg(), record_full_arch_list_head, record_full_arch_list_tail, record_full_check_insn_num(), record_full_insn_max_num, record_full_insn_num, record_full_list, record_full_list_release(), record_full_list_release_first(), and regnum.
Referenced by record_full_store_registers().
|
static |
Definition at line 1674 of file record-full.c.
References target_ops::beneath, bp, gdb_assert_not_reached, bp_target_info::placed_address, bp_target_info::placed_address_space, record_full_gdb_operation_disable_set(), REMOVE_BREAKPOINT, target_ops::to_remove_breakpoint, VEC_iterate, and VEC_unordered_remove.
Referenced by init_record_full_ops().
|
static |
Definition at line 2321 of file record-full.c.
References _, record_full_mem_entry::addr, bfdcore_read(), core_bfd, discard_cleanups(), record_full_entry::end, error(), fprintf_unfiltered(), gdb_assert, gdb_stdlog, get_current_arch(), get_current_regcache(), get_selected_frame(), record_full_end_entry::insn_num, record_full_mem_entry::len, record_full_reg_entry::len, make_cleanup(), record_full_entry::mem, netorder32(), netorder64(), record_full_entry::next, record_full_reg_entry::num, paddress(), phex_nz(), record_full_entry::prev, print_stack_frame(), printf_filtered(), record_debug, record_full_arch_list_add(), record_full_arch_list_cleanups(), record_full_arch_list_head, record_full_arch_list_tail, record_full_end, record_full_end_alloc(), RECORD_FULL_FILE_MAGIC, record_full_first, record_full_get_loc(), record_full_insn_count, record_full_insn_max_num, record_full_insn_num, record_full_list, record_full_mem, record_full_mem_alloc(), record_full_reg, record_full_reg_alloc(), record_full_entry::reg, regcache::regcache(), regnum, record_full_end_entry::sigval, SRC_AND_LOC, record_full_entry::u, and warning().
Referenced by record_full_core_open_1().
|
static |
Definition at line 931 of file record-full.c.
References target_ops::beneath, execution_direction, gdbarch_software_single_step_p(), get_current_regcache(), inferior_thread(), insert_single_step_breakpoints(), record_full_execution_dir, RECORD_FULL_IS_REPLAY, record_full_message(), record_full_resume_step, record_full_resumed, target_async(), target_can_async_p, target_pass_signals(), target_thread_architecture, thread_has_single_step_breakpoints_set(), and target_ops::to_resume.
Referenced by init_record_full_ops().
|
static |
Definition at line 2522 of file record-full.c.
References _, record_full_mem_entry::addr, regcache::arch(), bfdcore_write(), create_gcore_bfd(), record_full_entry::end, error(), fprintf_unfiltered(), gdb_stdlog, gdb::ref_ptr< T, Policy >::get(), get_current_regcache(), record_full_end_entry::insn_num, gdb::unlinker::keep(), record_full_mem_entry::len, record_full_reg_entry::len, record_full_entry::mem, netorder32(), netorder64(), record_full_entry::next, record_full_reg_entry::num, paddress(), phex_nz(), record_full_entry::prev, printf_filtered(), record_debug, record_full_end, record_full_exec_insn(), RECORD_FULL_FILE_MAGIC, record_full_first, record_full_gdb_operation_disable_set(), record_full_get_loc(), record_full_list, record_full_mem, record_full_reg, record_full_entry::reg, regcache::regcache(), regnum, record_full_end_entry::sigval, type, record_full_entry::type, record_full_entry::u, and write_gcore_file().
Referenced by init_record_full_ops().
|
static |
Definition at line 991 of file record-full.c.
References fprintf_unfiltered(), gdb_stdlog, record_debug, record_full_get_sig, and record_full_resume_step.
Referenced by record_full_wait_1().
|
static |
Definition at line 1938 of file record-full.c.
References record_full_goto_end().
Referenced by init_record_full_ops().
|
static |
Definition at line 1376 of file record-full.c.
References record_full_stop_reason, and TARGET_STOPPED_BY_HW_BREAKPOINT.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1359 of file record-full.c.
References record_full_stop_reason, and TARGET_STOPPED_BY_SW_BREAKPOINT.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1339 of file record-full.c.
References target_ops::beneath, RECORD_FULL_IS_REPLAY, record_full_stop_reason, TARGET_STOPPED_BY_WATCHPOINT, and target_ops::to_stopped_by_watchpoint.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1348 of file record-full.c.
References target_ops::beneath, RECORD_FULL_IS_REPLAY, and target_ops::to_stopped_data_address.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1440 of file record-full.c.
References _, regcache::arch(), target_ops::beneath, error(), gdbarch_num_regs(), gdbarch_register_name(), query(), record_full_gdb_operation_disable, RECORD_FULL_IS_REPLAY, record_full_list, record_full_list_release_following(), record_full_registers_change(), regcache_invalidate(), and target_ops::to_store_registers.
Referenced by init_record_full_ops().
|
static |
Definition at line 1385 of file record-full.c.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1368 of file record-full.c.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1321 of file record-full.c.
References record_full_resumed, record_full_wait_1(), status, and TARGET_WAITKIND_IGNORE.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1030 of file record-full.c.
References ALL_NON_EXITED_THREADS, regcache::arch(), regcache::aspace(), target_ops::beneath, delete_single_step_breakpoints(), discard_cleanups(), record_full_entry::end, EXEC_FORWARD, EXEC_REVERSE, execution_direction, fprintf_unfiltered(), gdb_assert, gdb_stdlog, gdbarch_software_single_step_p(), get_current_regcache(), handle_sigint(), host_address_to_string, inferior_ptid, insert_single_step_breakpoints(), make_cleanup(), minus_one_ptid, record_full_entry::next, target_terminal::ours(), paddress(), record_full_entry::prev, thread_info::ptid, record_check_stopped_by_breakpoint(), record_debug, record_full_core_ops, record_full_end, record_full_exec_insn(), record_full_execution_dir, record_full_first, record_full_gdb_operation_disable_set(), record_full_get_sig, RECORD_FULL_IS_REPLAY, record_full_list, record_full_message_wrapper_safe(), record_full_resume_step, record_full_resumed, record_full_sig_handler(), record_full_stop_reason, record_full_wait_cleanups(), regcache::regcache(), regcache_read_pc(), registers_changed(), reinit_frame_cache(), set_executing(), record_full_end_entry::sigval, status, TARGET_STOPPED_BY_NO_REASON, TARGET_STOPPED_BY_WATCHPOINT, target_stopped_by_watchpoint, target_thread_architecture, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_NO_HISTORY, TARGET_WAITKIND_STOPPED, TARGET_WNOHANG, target_ops::to_commit_resume, target_ops::to_resume, target_ops::to_wait, record_full_entry::type, and record_full_entry::u.
Referenced by record_full_wait().
|
static |
Definition at line 1005 of file record-full.c.
References EXEC_REVERSE, execution_direction, record_full_entry::next, record_full_entry::prev, and record_full_list.
Referenced by record_full_wait_1().
|
static |
Definition at line 1854 of file record-full.c.
References EXEC_REVERSE, and RECORD_FULL_IS_REPLAY.
Referenced by init_record_full_core_ops(), and init_record_full_ops().
|
static |
Definition at line 1499 of file record-full.c.
References _, target_ops::beneath, error(), fprintf_unfiltered(), gdb_stdlog, record_full_entry::next, offset, paddress(), record_full_entry::prev, query(), record_debug, record_full_arch_list_add_end(), record_full_arch_list_add_mem(), record_full_arch_list_head, record_full_arch_list_tail, record_full_check_insn_num(), record_full_gdb_operation_disable, record_full_insn_max_num, record_full_insn_num, RECORD_FULL_IS_REPLAY, record_full_list, record_full_list_release(), record_full_list_release_first(), record_full_list_release_following(), target_gdbarch(), TARGET_OBJECT_MEMORY, TARGET_OBJECT_RAW_MEMORY, TARGET_XFER_E_IO, and target_ops::to_xfer_partial.
Referenced by init_record_full_ops().
|
static |
Definition at line 2778 of file record-full.c.
References _, all_commands, gdb_stdout, help_list(), printf_unfiltered(), and set_record_full_cmdlist.
Referenced by _initialize_record_full().
|
static |
Definition at line 2761 of file record-full.c.
References record_full_insn_max_num, record_full_insn_num, and record_full_list_release_first().
Referenced by _initialize_record_full().
|
static |
Definition at line 2789 of file record-full.c.
References cmd_show_list(), and show_record_full_cmdlist.
Referenced by _initialize_record_full().
| VEC | ( | record_full_breakpoint_p | ) |
Definition at line 1584 of file record-full.c.
References bp, bp_loc_software_breakpoint, loc, VEC_safe_push, and XNEW.
|
static |
Definition at line 195 of file record-full.c.
Referenced by record_full_arch_list_add(), record_full_message(), record_full_registers_change(), record_full_restore(), and record_full_xfer_partial().
|
static |
Definition at line 196 of file record-full.c.
Referenced by record_full_arch_list_add(), record_full_arch_list_cleanups(), record_full_message(), record_full_registers_change(), record_full_restore(), and record_full_xfer_partial().
|
static |
Definition at line 764 of file record-full.c.
Referenced by record_full_async(), record_full_close(), and record_full_open().
|
static |
Definition at line 231 of file record-full.c.
Referenced by _initialize_record_full().
|
static |
Definition at line 174 of file record-full.c.
Referenced by record_full_close(), and record_full_core_xfer_partial().
|
static |
Definition at line 173 of file record-full.c.
Referenced by record_full_core_open_1(), and record_full_core_xfer_partial().
|
static |
Definition at line 211 of file record-full.c.
Referenced by _initialize_record_full(), init_record_full_core_ops(), record_full_core_kill(), record_full_core_open_1(), record_full_is_used(), and record_full_wait_1().
|
static |
Definition at line 171 of file record-full.c.
Referenced by record_full_close(), record_full_core_fetch_registers(), record_full_core_open_1(), and record_full_core_store_registers().
|
static |
Definition at line 172 of file record-full.c.
Referenced by record_full_core_open_1(), and record_full_core_xfer_partial().
|
static |
Definition at line 926 of file record-full.c.
Referenced by record_full_core_resume(), record_full_execution_direction(), record_full_resume(), and record_full_wait_1().
|
static |
Definition at line 193 of file record-full.c.
Referenced by _initialize_record_full(), record_full_goto(), record_full_goto_begin(), record_full_info(), record_full_list_release(), record_full_list_release_first(), record_full_message(), record_full_open(), record_full_restore(), record_full_save(), and record_full_wait_1().
|
static |
Definition at line 659 of file record-full.c.
Referenced by record_full_core_store_registers(), record_full_core_xfer_partial(), record_full_gdb_operation_disable_set(), record_full_store_registers(), and record_full_xfer_partial().
|
static |
Definition at line 986 of file record-full.c.
Referenced by record_full_sig_handler(), and record_full_wait_1().
|
static |
Definition at line 207 of file record-full.c.
Referenced by record_full_arch_list_add_end(), record_full_info(), record_full_list_release_following(), record_full_open(), and record_full_restore().
|
static |
Definition at line 202 of file record-full.c.
Referenced by _initialize_record_full(), record_full_check_insn_num(), record_full_info(), record_full_message(), record_full_registers_change(), record_full_restore(), record_full_xfer_partial(), and set_record_full_insn_max_num().
|
static |
Definition at line 204 of file record-full.c.
Referenced by record_full_check_insn_num(), record_full_info(), record_full_list_release(), record_full_list_release_first(), record_full_list_release_following(), record_full_message(), record_full_open(), record_full_registers_change(), record_full_restore(), record_full_xfer_partial(), and set_record_full_insn_max_num().
|
static |
Definition at line 194 of file record-full.c.
Referenced by record_full_close(), record_full_delete(), record_full_get_bookmark(), record_full_goto_end(), record_full_goto_entry(), record_full_goto_insn(), record_full_info(), record_full_message(), record_full_open(), record_full_registers_change(), record_full_restore(), record_full_save(), record_full_store_registers(), record_full_wait_1(), record_full_wait_cleanups(), and record_full_xfer_partial().
| int record_full_memory_query = 0 |
Definition at line 161 of file record-full.c.
Referenced by _initialize_record_full(), i386_process_record(), i386_record_lea_modrm(), and record_linux_system_call().
|
static |
Definition at line 210 of file record-full.c.
Referenced by _initialize_record_full(), init_record_full_ops(), record_full_is_used(), and record_full_open_1().
|
static |
Definition at line 905 of file record-full.c.
Referenced by record_full_core_resume(), record_full_resume(), record_full_sig_handler(), and record_full_wait_1().
|
static |
Definition at line 910 of file record-full.c.
Referenced by record_full_core_resume(), record_full_resume(), record_full_wait(), and record_full_wait_1().
|
static |
Definition at line 199 of file record-full.c.
Referenced by _initialize_record_full(), and record_full_check_insn_num().
|
static |
Definition at line 669 of file record-full.c.
Referenced by record_full_exec_insn(), record_full_stopped_by_hw_breakpoint(), record_full_stopped_by_sw_breakpoint(), record_full_stopped_by_watchpoint(), and record_full_wait_1().
|
static |
Definition at line 227 of file record-full.c.
Referenced by _initialize_record_full(), and set_record_full_command().
|
static |
Definition at line 228 of file record-full.c.
Referenced by _initialize_record_full(), and show_record_full_command().
1.8.14