GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
record_full_base_target Class Referenceabstract
Inheritance diagram for record_full_base_target:
target_ops record_full_core_target record_full_target

Public Member Functions

const target_infoinfo () const override=0
 
strata stratum () const override
 
void close () override
 
void async (bool) override
 
ptid_t wait (ptid_t, struct target_waitstatus *, target_wait_flags) override
 
bool stopped_by_watchpoint () override
 
bool stopped_data_address (CORE_ADDR *) override
 
bool stopped_by_sw_breakpoint () override
 
bool supports_stopped_by_sw_breakpoint () override
 
bool stopped_by_hw_breakpoint () override
 
bool supports_stopped_by_hw_breakpoint () override
 
bool can_execute_reverse () override
 
gdb_byte * get_bookmark (const char *, int) override
 
void goto_bookmark (const gdb_byte *, int) override
 
enum exec_direction_kind execution_direction () override
 
enum record_method record_method (ptid_t ptid) override
 
void info_record () override
 
void save_record (const char *filename) override
 
bool supports_delete_record () override
 
void delete_record () override
 
bool record_is_replaying (ptid_t ptid) override
 
bool record_will_replay (ptid_t ptid, int dir) override
 
void record_stop_replaying () override
 
void goto_record_begin () override
 
void goto_record_end () override
 
void goto_record (ULONGEST insn) override
 
- Public Member Functions inherited from target_ops
target_opsbeneath () const
 
virtual ~target_ops ()
 
const char * shortname () const
 
const char * longname () const
 
virtual bool can_attach ()
 
virtual void attach (const char *, int)
 
virtual void post_attach (int) TARGET_DEFAULT_IGNORE()
 
virtual void detach (inferior *, int) TARGET_DEFAULT_IGNORE()
 
virtual void disconnect (const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void resume (ptid_t, int TARGET_DEBUG_PRINTER(target_debug_print_step), enum gdb_signal) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void commit_resumed () TARGET_DEFAULT_IGNORE()
 
virtual void fetch_registers (struct regcache *, int) TARGET_DEFAULT_IGNORE()
 
virtual void store_registers (struct regcache *, int) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void prepare_to_store (struct regcache *) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void files_info () TARGET_DEFAULT_IGNORE()
 
virtual int insert_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual int remove_breakpoint (struct gdbarch *, struct bp_target_info *, enum remove_bp_reason) TARGET_DEFAULT_NORETURN(noprocess())
 
virtual int can_use_hw_breakpoint (enum bptype, int, int) TARGET_DEFAULT_RETURN(0)
 
virtual int ranged_break_num_registers () TARGET_DEFAULT_RETURN(-1)
 
virtual int insert_hw_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
 
virtual int remove_hw_breakpoint (struct gdbarch *, struct bp_target_info *) TARGET_DEFAULT_RETURN(-1)
 
virtual int remove_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
 
virtual int insert_watchpoint (CORE_ADDR, int, enum target_hw_bp_type, struct expression *) TARGET_DEFAULT_RETURN(-1)
 
virtual int insert_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_mask_watchpoint (CORE_ADDR, CORE_ADDR, enum target_hw_bp_type) TARGET_DEFAULT_RETURN(1)
 
virtual bool have_steppable_watchpoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool watchpoint_addr_within_range (CORE_ADDR, CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_watchpoint_addr_within_range)
 
virtual int region_ok_for_hw_watchpoint (CORE_ADDR, int) TARGET_DEFAULT_FUNC(default_region_ok_for_hw_watchpoint)
 
virtual bool can_accel_watchpoint_condition (CORE_ADDR, int, int, struct expression *) TARGET_DEFAULT_RETURN(false)
 
virtual int masked_watch_num_registers (CORE_ADDR, CORE_ADDR) TARGET_DEFAULT_RETURN(-1)
 
virtual int can_do_single_step () TARGET_DEFAULT_RETURN(-1)
 
virtual bool supports_terminal_ours () TARGET_DEFAULT_RETURN(false)
 
virtual void terminal_init () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_inferior () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_save_inferior () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_ours_for_output () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_ours () TARGET_DEFAULT_IGNORE()
 
virtual void terminal_info (const char *, int) TARGET_DEFAULT_FUNC(default_terminal_info)
 
virtual void kill () TARGET_DEFAULT_NORETURN(noprocess())
 
virtual void load (const char *, int) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool can_create_inferior ()
 
virtual void create_inferior (const char *, const std::string &, char **, int)
 
virtual int insert_fork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_fork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int insert_vfork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_vfork_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) TARGET_DEFAULT_FUNC(default_follow_fork)
 
virtual int insert_exec_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual int remove_exec_catchpoint (int) TARGET_DEFAULT_RETURN(1)
 
virtual void follow_exec (inferior *, ptid_t, const char *) TARGET_DEFAULT_IGNORE()
 
virtual int set_syscall_catchpoint (int, bool, int, gdb::array_view< const int >) TARGET_DEFAULT_RETURN(1)
 
virtual void mourn_inferior () TARGET_DEFAULT_FUNC(default_mourn_inferior)
 
virtual bool can_run ()
 
virtual void pass_signals (gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTER(target_debug_print_signals)) TARGET_DEFAULT_IGNORE()
 
virtual void program_signals (gdb::array_view< const unsigned char > TARGET_DEBUG_PRINTER(target_debug_print_signals)) TARGET_DEFAULT_IGNORE()
 
virtual bool thread_alive (ptid_t ptid) TARGET_DEFAULT_RETURN(false)
 
virtual void update_thread_list () TARGET_DEFAULT_IGNORE()
 
virtual std::string pid_to_str (ptid_t) TARGET_DEFAULT_FUNC(default_pid_to_str)
 
virtual const char * extra_thread_info (thread_info *) TARGET_DEFAULT_RETURN(NULL)
 
virtual const char * thread_name (thread_info *) TARGET_DEFAULT_RETURN(NULL)
 
virtual thread_infothread_handle_to_thread_info (const gdb_byte *, int, inferior *inf) TARGET_DEFAULT_RETURN(NULL)
 
virtual void interrupt () TARGET_DEFAULT_IGNORE()
 
virtual void pass_ctrlc () TARGET_DEFAULT_FUNC(default_target_pass_ctrlc)
 
virtual void rcmd (const char *command, struct ui_file *output) TARGET_DEFAULT_FUNC(default_rcmd)
 
virtual const char * pid_to_exec_file (int pid) TARGET_DEFAULT_RETURN(NULL)
 
virtual void log_command (const char *) TARGET_DEFAULT_IGNORE()
 
virtual const target_section_tableget_section_table () TARGET_DEFAULT_RETURN(default_get_section_table())
 
virtual bool has_all_memory ()
 
virtual bool has_memory ()
 
virtual bool has_stack ()
 
virtual bool has_registers ()
 
virtual bool has_execution (inferior *inf)
 
virtual thread_control_capabilities get_thread_control_capabilities () TARGET_DEFAULT_RETURN(tc_none)
 
virtual bool attach_no_wait () TARGET_DEFAULT_RETURN(0)
 
virtual bool can_async_p () TARGET_DEFAULT_RETURN(false)
 
virtual bool is_async_p () TARGET_DEFAULT_RETURN(false)
 
virtual int async_wait_fd () TARGET_DEFAULT_NORETURN(noprocess())
 
virtual bool has_pending_events () TARGET_DEFAULT_RETURN(false)
 
virtual void thread_events (int) TARGET_DEFAULT_IGNORE()
 
virtual bool supports_non_stop () TARGET_DEFAULT_RETURN(false)
 
virtual bool always_non_stop_p () TARGET_DEFAULT_RETURN(false)
 
virtual int find_memory_regions (find_memory_region_ftype func, void *data) TARGET_DEFAULT_FUNC(dummy_find_memory_regions)
 
virtual gdb::unique_xmalloc_ptr< char > make_corefile_notes (bfd *, int *) TARGET_DEFAULT_FUNC(dummy_make_corefile_notes)
 
virtual CORE_ADDR get_thread_local_address (ptid_t ptid, CORE_ADDR load_module_addr, CORE_ADDR offset) TARGET_DEFAULT_NORETURN(generic_tls_error())
 
virtual enum target_xfer_status xfer_partial (enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) TARGET_DEFAULT_RETURN(TARGET_XFER_E_IO)
 
virtual ULONGEST get_memory_xfer_limit () TARGET_DEFAULT_RETURN(ULONGEST_MAX)
 
virtual std::vector< mem_region > virtual memory_map() TARGET_DEFAULT_RETURN(std void flash_erase (ULONGEST address, LONGEST length) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void flash_done () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual const struct target_descread_description () TARGET_DEFAULT_RETURN(NULL)
 
virtual ptid_t get_ada_task_ptid (long lwp, ULONGEST thread) TARGET_DEFAULT_FUNC(default_get_ada_task_ptid)
 
virtual int auxv_parse (const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp) TARGET_DEFAULT_FUNC(default_auxv_parse)
 
virtual int search_memory (CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) TARGET_DEFAULT_FUNC(default_search_memory)
 
virtual bool supports_multi_process () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_enable_disable_tracepoint () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_disable_randomization () TARGET_DEFAULT_FUNC(find_default_supports_disable_randomization)
 
virtual bool supports_string_tracing () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_evaluation_of_breakpoint_conditions () TARGET_DEFAULT_RETURN(false)
 
virtual bool supports_dumpcore () TARGET_DEFAULT_RETURN(false)
 
virtual void dumpcore (const char *filename) TARGET_DEFAULT_IGNORE()
 
virtual bool can_run_breakpoint_commands () TARGET_DEFAULT_RETURN(false)
 
virtual struct gdbarchthread_architecture (ptid_t) TARGET_DEFAULT_RETURN(NULL)
 
virtual struct address_spacethread_address_space (ptid_t) TARGET_DEFAULT_RETURN(NULL)
 
virtual bool filesystem_is_local () TARGET_DEFAULT_RETURN(true)
 
virtual int fileio_open (struct inferior *inf, const char *filename, int flags, int mode, int warn_if_slow, fileio_error *target_errno)
 
virtual int fileio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, fileio_error *target_errno)
 
virtual int fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, fileio_error *target_errno)
 
virtual int fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno)
 
virtual int fileio_close (int fd, fileio_error *target_errno)
 
virtual int fileio_unlink (struct inferior *inf, const char *filename, fileio_error *target_errno)
 
virtual gdb::optional< std::string > fileio_readlink (struct inferior *inf, const char *filename, fileio_error *target_errno)
 
virtual bool info_proc (const char *, enum info_proc_what)
 
virtual void trace_init () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void download_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool can_download_tracepoint () TARGET_DEFAULT_RETURN(false)
 
virtual void download_trace_state_variable (const trace_state_variable &tsv) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void enable_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void disable_tracepoint (struct bp_location *location) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void trace_set_readonly_regions () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void trace_start () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int get_trace_status (struct trace_status *ts) TARGET_DEFAULT_RETURN(-1)
 
virtual void get_tracepoint_status (tracepoint *tp, struct uploaded_tp *utp) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void trace_stop () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int trace_find (enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp) TARGET_DEFAULT_RETURN(-1)
 
virtual bool get_trace_state_variable_value (int tsv, LONGEST *val) TARGET_DEFAULT_RETURN(false)
 
virtual int save_trace_data (const char *filename) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int upload_tracepoints (struct uploaded_tp **utpp) TARGET_DEFAULT_RETURN(0)
 
virtual int upload_trace_state_variables (struct uploaded_tsv **utsvp) TARGET_DEFAULT_RETURN(0)
 
virtual LONGEST get_raw_trace_data (gdb_byte *buf, ULONGEST offset, LONGEST len) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual int get_min_fast_tracepoint_insn_len () TARGET_DEFAULT_RETURN(-1)
 
virtual void set_disconnected_tracing (int val) TARGET_DEFAULT_IGNORE()
 
virtual void set_circular_trace_buffer (int val) TARGET_DEFAULT_IGNORE()
 
virtual void set_trace_buffer_size (LONGEST val) TARGET_DEFAULT_IGNORE()
 
virtual bool set_trace_notes (const char *user, const char *notes, const char *stopnotes) TARGET_DEFAULT_RETURN(false)
 
virtual int core_of_thread (ptid_t ptid) TARGET_DEFAULT_RETURN(-1)
 
virtual int verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size) TARGET_DEFAULT_FUNC(default_verify_memory)
 
virtual bool get_tib_address (ptid_t ptid, CORE_ADDR *addr) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void set_permissions () TARGET_DEFAULT_IGNORE()
 
virtual bool static_tracepoint_marker_at (CORE_ADDR, static_tracepoint_marker *marker) TARGET_DEFAULT_RETURN(false)
 
virtual std::vector< static_tracepoint_markerstatic_tracepoint_markers_by_strid (const char *id) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual traceframe_info_up traceframe_info () TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool use_agent (bool use) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool can_use_agent () TARGET_DEFAULT_RETURN(false)
 
virtual struct btrace_target_info * enable_btrace (thread_info *tp, const struct btrace_config *conf) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void disable_btrace (struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void teardown_btrace (struct btrace_target_info *tinfo) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual enum btrace_error read_btrace (struct btrace_data *data, struct btrace_target_info *btinfo, enum btrace_read_type type) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual const struct btrace_config * btrace_conf (const struct btrace_target_info *) TARGET_DEFAULT_RETURN(NULL)
 
virtual void stop_recording () TARGET_DEFAULT_IGNORE()
 
virtual void insn_history (int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void insn_history_from (ULONGEST from, int size, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void insn_history_range (ULONGEST begin, ULONGEST end, gdb_disassembly_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void call_history (int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void call_history_from (ULONGEST begin, int size, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual void call_history_range (ULONGEST begin, ULONGEST end, record_print_flags flags) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool augmented_libraries_svr4_read () TARGET_DEFAULT_RETURN(false)
 
virtual const struct frame_unwindget_unwinder () TARGET_DEFAULT_RETURN(NULL)
 
virtual const struct frame_unwindget_tailcall_unwinder () TARGET_DEFAULT_RETURN(NULL)
 
virtual void prepare_to_generate_core () TARGET_DEFAULT_IGNORE()
 
virtual void done_generating_core () TARGET_DEFAULT_IGNORE()
 
virtual bool supports_memory_tagging () TARGET_DEFAULT_RETURN(false)
 
virtual bool fetch_memtags (CORE_ADDR address, size_t len, gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual bool store_memtags (CORE_ADDR address, size_t len, const gdb::byte_vector &tags, int type) TARGET_DEFAULT_NORETURN(tcomplain())
 
virtual x86_xsave_layout fetch_x86_xsave_layout () TARGET_DEFAULT_RETURN(x86_xsave_layout())
 

Additional Inherited Members

- Public Attributes inherited from target_ops
virtual gdb::array_view< const_gdb_byte > virtual thread_info_to_thread_handle(struct thread_info *) TARGET_DEFAULT_RETURN(gdb voi stop )(ptid_t) TARGET_DEFAULT_IGNORE()
 

Detailed Description

Definition at line 220 of file record-full.c.

Member Function Documentation

◆ async()

void record_full_base_target::async ( bool enable)
overridevirtual

◆ can_execute_reverse()

bool record_full_base_target::can_execute_reverse ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1835 of file record-full.c.

◆ close()

void record_full_base_target::close ( )
overridevirtual

◆ delete_record()

void record_full_base_target::delete_record ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1955 of file record-full.c.

References record_full_list, and record_full_list_release_following().

◆ execution_direction()

enum exec_direction_kind record_full_base_target::execution_direction ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1889 of file record-full.c.

References record_full_execution_dir.

Referenced by record_full_target::resume(), and record_full_core_target::resume().

◆ get_bookmark()

gdb_byte * record_full_base_target::get_bookmark ( const char * args,
int from_tty )
overridevirtual

◆ goto_bookmark()

void record_full_base_target::goto_bookmark ( const gdb_byte * raw_bookmark,
int from_tty )
overridevirtual

Reimplemented from target_ops.

Definition at line 1866 of file record-full.c.

References gdb_printf(), gdb_stdlog, record_debug, and record_goto().

◆ goto_record()

void record_full_base_target::goto_record ( ULONGEST insn)
overridevirtual

◆ goto_record_begin()

void record_full_base_target::goto_record_begin ( )
overridevirtual

◆ goto_record_end()

void record_full_base_target::goto_record_end ( )
overridevirtual

◆ info()

const target_info & record_full_base_target::info ( ) const
overridepure virtual

Implements target_ops.

Implemented in record_full_target, and record_full_core_target.

◆ info_record()

void record_full_base_target::info_record ( )
overridevirtual

◆ record_is_replaying()

bool record_full_base_target::record_is_replaying ( ptid_t ptid)
overridevirtual

Reimplemented from target_ops.

Definition at line 1963 of file record-full.c.

References RECORD_FULL_IS_REPLAY.

◆ record_method()

enum record_method record_full_base_target::record_method ( ptid_t ptid)
overridevirtual

Reimplemented from target_ops.

Definition at line 1897 of file record-full.c.

References RECORD_METHOD_FULL.

◆ record_stop_replaying()

void record_full_base_target::record_stop_replaying ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 2055 of file record-full.c.

References goto_record_end().

◆ record_will_replay()

bool record_full_base_target::record_will_replay ( ptid_t ptid,
int dir )
overridevirtual

Reimplemented from target_ops.

Definition at line 1971 of file record-full.c.

References EXEC_REVERSE, and RECORD_FULL_IS_REPLAY.

◆ save_record()

void record_full_base_target::save_record ( const char * filename)
overridevirtual

◆ stopped_by_hw_breakpoint()

bool record_full_base_target::stopped_by_hw_breakpoint ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1517 of file record-full.c.

References record_full_stop_reason, and TARGET_STOPPED_BY_HW_BREAKPOINT.

◆ stopped_by_sw_breakpoint()

bool record_full_base_target::stopped_by_sw_breakpoint ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1500 of file record-full.c.

References record_full_stop_reason, and TARGET_STOPPED_BY_SW_BREAKPOINT.

◆ stopped_by_watchpoint()

bool record_full_base_target::stopped_by_watchpoint ( )
overridevirtual

◆ stopped_data_address()

bool record_full_base_target::stopped_data_address ( CORE_ADDR * addr_p)
overridevirtual

Reimplemented from target_ops.

Definition at line 1489 of file record-full.c.

References target_ops::beneath(), RECORD_FULL_IS_REPLAY, and target_ops::stopped_data_address().

◆ stratum()

strata record_full_base_target::stratum ( ) const
inlineoverridevirtual

Implements target_ops.

Definition at line 225 of file record-full.c.

References record_stratum.

◆ supports_delete_record()

bool record_full_base_target::supports_delete_record ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1947 of file record-full.c.

◆ supports_stopped_by_hw_breakpoint()

bool record_full_base_target::supports_stopped_by_hw_breakpoint ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1526 of file record-full.c.

◆ supports_stopped_by_sw_breakpoint()

bool record_full_base_target::supports_stopped_by_sw_breakpoint ( )
overridevirtual

Reimplemented from target_ops.

Definition at line 1509 of file record-full.c.

◆ wait()

ptid_t record_full_base_target::wait ( ptid_t ptid,
struct target_waitstatus * status,
target_wait_flags options )
overridevirtual

The documentation for this class was generated from the following file: