GDB (API)
|
#include "target/resume.h"
#include "target/wait.h"
#include "target/waitstatus.h"
#include "bfd.h"
#include "symtab.h"
#include "memattr.h"
#include "vec.h"
#include "gdb_signals.h"
#include "btrace.h"
#include "command.h"
Go to the source code of this file.
Classes | |
struct | syscall |
struct | memory_read_result |
struct | target_ops |
struct | memory_write_request |
struct | target_section |
struct | target_section_table |
Defines | |
#define | OPS_MAGIC 3840 |
#define | target_shortname (current_target.to_shortname) |
#define | target_longname (current_target.to_longname) |
#define | target_attach_no_wait (current_target.to_attach_no_wait) |
#define | target_post_attach(pid) (*current_target.to_post_attach) (pid) |
#define | target_prepare_to_store(regcache) (*current_target.to_prepare_to_store) (regcache) |
#define | target_supports_multi_process() (*current_target.to_supports_multi_process) () |
#define | target_supports_enable_disable_tracepoint() (*current_target.to_supports_enable_disable_tracepoint) () |
#define | target_supports_string_tracing() (*current_target.to_supports_string_tracing) () |
#define | target_supports_evaluation_of_breakpoint_conditions() (*current_target.to_supports_evaluation_of_breakpoint_conditions) () |
#define | target_can_run_breakpoint_commands() (*current_target.to_can_run_breakpoint_commands) () |
#define | target_files_info() (*current_target.to_files_info) (¤t_target) |
#define | target_terminal_init() (*current_target.to_terminal_init) () |
#define | target_terminal_ours_for_output() (*current_target.to_terminal_ours_for_output) () |
#define | target_terminal_ours() (*current_target.to_terminal_ours) () |
#define | target_terminal_save_ours() (*current_target.to_terminal_save_ours) () |
#define | target_terminal_info(arg, from_tty) (*current_target.to_terminal_info) (arg, from_tty) |
#define | target_post_startup_inferior(ptid) (*current_target.to_post_startup_inferior) (ptid) |
#define | target_insert_fork_catchpoint(pid) (*current_target.to_insert_fork_catchpoint) (pid) |
#define | target_remove_fork_catchpoint(pid) (*current_target.to_remove_fork_catchpoint) (pid) |
#define | target_insert_vfork_catchpoint(pid) (*current_target.to_insert_vfork_catchpoint) (pid) |
#define | target_remove_vfork_catchpoint(pid) (*current_target.to_remove_vfork_catchpoint) (pid) |
#define | target_insert_exec_catchpoint(pid) (*current_target.to_insert_exec_catchpoint) (pid) |
#define | target_remove_exec_catchpoint(pid) (*current_target.to_remove_exec_catchpoint) (pid) |
#define | target_set_syscall_catchpoint(pid, needed, any_count, table_size, table) |
#define | target_has_exited(pid, wait_status, exit_status) (*current_target.to_has_exited) (pid,wait_status,exit_status) |
#define | target_can_run(t) ((t)->to_can_run) () |
#define | target_rcmd(command, outbuf) (*current_target.to_rcmd) (command, outbuf) |
#define | target_has_all_memory target_has_all_memory_1 () |
#define | target_has_memory target_has_memory_1 () |
#define | target_has_stack target_has_stack_1 () |
#define | target_has_registers target_has_registers_1 () |
#define | target_has_execution target_has_execution_current () |
#define | target_can_lock_scheduler (current_target.to_has_thread_control & tc_schedlock) |
#define | target_can_async_p() (current_target.to_can_async_p ()) |
#define | target_is_async_p() (current_target.to_is_async_p ()) |
#define | target_async(CALLBACK, CONTEXT) (current_target.to_async ((CALLBACK), (CONTEXT))) |
#define | target_execution_direction() (current_target.to_execution_direction ()) |
#define | target_extra_thread_info(TP) (current_target.to_extra_thread_info (TP)) |
#define | target_pid_to_exec_file(pid) (current_target.to_pid_to_exec_file) (pid) |
#define | target_thread_architecture(ptid) (current_target.to_thread_architecture (¤t_target, ptid)) |
#define | target_find_memory_regions(FUNC, DATA) (current_target.to_find_memory_regions) (FUNC, DATA) |
#define | target_make_corefile_notes(BFD, SIZE_P) (current_target.to_make_corefile_notes) (BFD, SIZE_P) |
#define | target_get_bookmark(ARGS, FROM_TTY) (current_target.to_get_bookmark) (ARGS, FROM_TTY) |
#define | target_goto_bookmark(ARG, FROM_TTY) (current_target.to_goto_bookmark) (ARG, FROM_TTY) |
#define | target_stopped_by_watchpoint (*current_target.to_stopped_by_watchpoint) |
#define | target_have_steppable_watchpoint (current_target.to_have_steppable_watchpoint) |
#define | target_have_continuable_watchpoint (current_target.to_have_continuable_watchpoint) |
#define | target_can_use_hardware_watchpoint(TYPE, CNT, OTHERTYPE) (*current_target.to_can_use_hw_breakpoint) (TYPE, CNT, OTHERTYPE); |
#define | target_region_ok_for_hw_watchpoint(addr, len) (*current_target.to_region_ok_for_hw_watchpoint) (addr, len) |
#define | target_insert_watchpoint(addr, len, type, cond) (*current_target.to_insert_watchpoint) (addr, len, type, cond) |
#define | target_remove_watchpoint(addr, len, type, cond) (*current_target.to_remove_watchpoint) (addr, len, type, cond) |
#define | target_insert_hw_breakpoint(gdbarch, bp_tgt) (*current_target.to_insert_hw_breakpoint) (gdbarch, bp_tgt) |
#define | target_remove_hw_breakpoint(gdbarch, bp_tgt) (*current_target.to_remove_hw_breakpoint) (gdbarch, bp_tgt) |
#define | target_stopped_data_address(target, addr_p) (*target.to_stopped_data_address) (target, addr_p) |
#define | target_watchpoint_addr_within_range(target, addr, start, length) (*target.to_watchpoint_addr_within_range) (target, addr, start, length) |
#define | target_can_accel_watchpoint_condition(addr, len, type, cond) (*current_target.to_can_accel_watchpoint_condition) (addr, len, type, cond) |
#define | target_can_execute_reverse |
#define | target_get_ada_task_ptid(lwp, tid) (*current_target.to_get_ada_task_ptid) (lwp,tid) |
#define | target_trace_init() (*current_target.to_trace_init) () |
#define | target_download_tracepoint(t) (*current_target.to_download_tracepoint) (t) |
#define | target_can_download_tracepoint() (*current_target.to_can_download_tracepoint) () |
#define | target_download_trace_state_variable(tsv) (*current_target.to_download_trace_state_variable) (tsv) |
#define | target_enable_tracepoint(loc) (*current_target.to_enable_tracepoint) (loc) |
#define | target_disable_tracepoint(loc) (*current_target.to_disable_tracepoint) (loc) |
#define | target_trace_start() (*current_target.to_trace_start) () |
#define | target_trace_set_readonly_regions() (*current_target.to_trace_set_readonly_regions) () |
#define | target_get_trace_status(ts) (*current_target.to_get_trace_status) (ts) |
#define | target_get_tracepoint_status(tp, utp) (*current_target.to_get_tracepoint_status) (tp, utp) |
#define | target_trace_stop() (*current_target.to_trace_stop) () |
#define | target_trace_find(type, num, addr1, addr2, tpp) (*current_target.to_trace_find) ((type), (num), (addr1), (addr2), (tpp)) |
#define | target_get_trace_state_variable_value(tsv, val) (*current_target.to_get_trace_state_variable_value) ((tsv), (val)) |
#define | target_save_trace_data(filename) (*current_target.to_save_trace_data) (filename) |
#define | target_upload_tracepoints(utpp) (*current_target.to_upload_tracepoints) (utpp) |
#define | target_upload_trace_state_variables(utsvp) (*current_target.to_upload_trace_state_variables) (utsvp) |
#define | target_get_raw_trace_data(buf, offset, len) (*current_target.to_get_raw_trace_data) ((buf), (offset), (len)) |
#define | target_get_min_fast_tracepoint_insn_len() (*current_target.to_get_min_fast_tracepoint_insn_len) () |
#define | target_set_disconnected_tracing(val) (*current_target.to_set_disconnected_tracing) (val) |
#define | target_set_circular_trace_buffer(val) (*current_target.to_set_circular_trace_buffer) (val) |
#define | target_set_trace_buffer_size(val) (*current_target.to_set_trace_buffer_size) (val) |
#define | target_set_trace_notes(user, notes, stopnotes) (*current_target.to_set_trace_notes) ((user), (notes), (stopnotes)) |
#define | target_get_tib_address(ptid, addr) (*current_target.to_get_tib_address) ((ptid), (addr)) |
#define | target_set_permissions() (*current_target.to_set_permissions) () |
#define | target_static_tracepoint_marker_at(addr, marker) (*current_target.to_static_tracepoint_marker_at) (addr, marker) |
#define | target_static_tracepoint_markers_by_strid(marker_id) (*current_target.to_static_tracepoint_markers_by_strid) (marker_id) |
#define | target_traceframe_info() (*current_target.to_traceframe_info) () |
#define | target_use_agent(use) (*current_target.to_use_agent) (use) |
#define | target_can_use_agent() (*current_target.to_can_use_agent) () |
#define | target_augmented_libraries_svr4_read() (*current_target.to_augmented_libraries_svr4_read) () |
#define | target_log_command(p) |
Typedefs | |
typedef struct static_tracepoint_marker * | static_tracepoint_marker_p |
typedef struct memory_read_result | memory_read_result_s |
typedef struct memory_write_request | memory_write_request_s |
Enumerations | |
enum | strata { dummy_stratum, file_stratum, process_stratum, thread_stratum, record_stratum, arch_stratum } |
enum | thread_control_capabilities { tc_none = 0, tc_schedlock = 1 } |
enum | inferior_event_type { INF_REG_EVENT, INF_TIMER, INF_EXEC_COMPLETE, INF_EXEC_CONTINUE } |
enum | target_object { TARGET_OBJECT_AVR, TARGET_OBJECT_SPU, TARGET_OBJECT_MEMORY, TARGET_OBJECT_RAW_MEMORY, TARGET_OBJECT_STACK_MEMORY, TARGET_OBJECT_UNWIND_TABLE, TARGET_OBJECT_AUXV, TARGET_OBJECT_WCOOKIE, TARGET_OBJECT_MEMORY_MAP, TARGET_OBJECT_FLASH, TARGET_OBJECT_AVAILABLE_FEATURES, TARGET_OBJECT_LIBRARIES, TARGET_OBJECT_LIBRARIES_SVR4, TARGET_OBJECT_LIBRARIES_AIX, TARGET_OBJECT_OSDATA, TARGET_OBJECT_SIGNAL_INFO, TARGET_OBJECT_THREADS, TARGET_OBJECT_STATIC_TRACE_DATA, TARGET_OBJECT_HPUX_UREGS, TARGET_OBJECT_HPUX_SOLIB_GOT, TARGET_OBJECT_TRACEFRAME_INFO, TARGET_OBJECT_FDPIC, TARGET_OBJECT_DARWIN_DYLD_INFO, TARGET_OBJECT_OPENVMS_UIB, TARGET_OBJECT_BTRACE } |
enum | target_xfer_error { TARGET_XFER_E_IO = -1, TARGET_XFER_E_UNAVAILABLE = -2 } |
enum | trace_find_type { tfind_number, tfind_pc, tfind_tp, tfind_range, tfind_outside } |
enum | flash_preserve_mode { flash_preserve, flash_discard } |
Functions | |
char * | target_waitstatus_to_string (const struct target_waitstatus *) |
char * | target_options_to_string (int target_options) |
const char * | target_xfer_error_to_string (enum target_xfer_error err) |
DEF_VEC_P (static_tracepoint_marker_p) | |
LONGEST | target_read (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *buf, ULONGEST offset, LONGEST len) |
DEF_VEC_O (memory_read_result_s) | |
void | free_memory_read_result_vector (void *) |
VEC (memory_read_result_s)*read_memory_robust(struct target_ops *ops | |
LONGEST | target_write (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, ULONGEST offset, LONGEST len) |
LONGEST | target_write_with_progress (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, ULONGEST offset, LONGEST len, void(*progress)(ULONGEST, void *), void *baton) |
LONGEST | target_read_alloc (struct target_ops *ops, enum target_object object, const char *annex, gdb_byte **buf_p) |
char * | target_read_stralloc (struct target_ops *ops, enum target_object object, const char *annex) |
LONGEST | target_xfer_partial (struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) |
void | get_target_memory (struct target_ops *ops, CORE_ADDR addr, gdb_byte *buf, LONGEST len) |
ULONGEST | get_target_memory_unsigned (struct target_ops *ops, CORE_ADDR addr, int len, enum bfd_endian byte_order) |
void | target_close (struct target_ops *targ) |
void | target_attach (char *, int) |
void | target_detach (char *, int) |
void | target_disconnect (char *, int) |
void | target_resume (ptid_t ptid, int step, enum gdb_signal signal) |
ptid_t | target_wait (ptid_t ptid, struct target_waitstatus *status, int options) |
void | target_fetch_registers (struct regcache *regcache, int regno) |
void | target_store_registers (struct regcache *regcache, int regs) |
struct address_space * | target_thread_address_space (ptid_t) |
int | target_info_proc (char *, enum info_proc_what) |
int | target_supports_disable_randomization (void) |
void | target_dcache_invalidate (void) |
int | target_read_string (CORE_ADDR, char **, int, int *) |
int | target_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len) |
int | target_read_stack (CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len) |
int | target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len) |
int | target_write_raw_memory (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len) |
VEC (mem_region_s)*target_memory_map(void) | |
void | target_flash_erase (ULONGEST address, LONGEST length) |
void | target_flash_done (void) |
DEF_VEC_O (memory_write_request_s) | |
int | target_write_memory_blocks (VEC(memory_write_request_s)*requests, enum flash_preserve_mode preserve_flash_p, void(*progress_cb)(ULONGEST, void *)) |
int | target_insert_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
int | target_remove_breakpoint (struct gdbarch *gdbarch, struct bp_target_info *bp_tgt) |
void | target_terminal_inferior (void) |
void | target_kill (void) |
void | target_load (char *arg, int from_tty) |
void | target_create_inferior (char *exec_file, char *args, char **env, int from_tty) |
int | target_follow_fork (int follow_child, int detach_fork) |
void | target_mourn_inferior (void) |
void | target_pass_signals (int nsig, unsigned char *pass_signals) |
void | target_program_signals (int nsig, unsigned char *program_signals) |
int | target_thread_alive (ptid_t ptid) |
void | target_find_new_threads (void) |
void | target_stop (ptid_t ptid) |
int | target_has_all_memory_1 (void) |
int | target_has_memory_1 (void) |
int | target_has_stack_1 (void) |
int | target_has_registers_1 (void) |
int | target_has_execution_1 (ptid_t) |
int | target_has_execution_current (void) |
int | default_child_has_all_memory (struct target_ops *ops) |
int | default_child_has_memory (struct target_ops *ops) |
int | default_child_has_stack (struct target_ops *ops) |
int | default_child_has_registers (struct target_ops *ops) |
int | default_child_has_execution (struct target_ops *ops, ptid_t the_ptid) |
int | target_supports_non_stop (void) |
char * | target_pid_to_str (ptid_t ptid) |
char * | normal_pid_to_str (ptid_t ptid) |
char * | target_thread_name (struct thread_info *) |
int | target_insert_mask_watchpoint (CORE_ADDR, CORE_ADDR, int) |
int | target_remove_mask_watchpoint (CORE_ADDR, CORE_ADDR, int) |
int | target_ranged_break_num_registers (void) |
int | target_masked_watch_num_registers (CORE_ADDR addr, CORE_ADDR mask) |
struct target_desc * | target_read_description (struct target_ops *) |
int | simple_search_memory (struct target_ops *ops, CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) |
int | target_search_memory (CORE_ADDR start_addr, ULONGEST search_space_len, const gdb_byte *pattern, ULONGEST pattern_len, CORE_ADDR *found_addrp) |
int | target_fileio_open (const char *filename, int flags, int mode, int *target_errno) |
int | target_fileio_pwrite (int fd, const gdb_byte *write_buf, int len, ULONGEST offset, int *target_errno) |
int | target_fileio_pread (int fd, gdb_byte *read_buf, int len, ULONGEST offset, int *target_errno) |
int | target_fileio_close (int fd, int *target_errno) |
int | target_fileio_unlink (const char *filename, int *target_errno) |
char * | target_fileio_readlink (const char *filename, int *target_errno) |
LONGEST | target_fileio_read_alloc (const char *filename, gdb_byte **buf_p) |
char * | target_fileio_read_stralloc (const char *filename) |
int | target_core_of_thread (ptid_t ptid) |
int | target_verify_memory (const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size) |
void | add_target (struct target_ops *) |
void | add_target_with_completer (struct target_ops *t, completer_ftype *completer) |
void | complete_target_initialization (struct target_ops *t) |
void | add_deprecated_target_alias (struct target_ops *t, char *alias) |
void | push_target (struct target_ops *) |
int | unpush_target (struct target_ops *) |
void | target_pre_inferior (int) |
void | target_preopen (int) |
void | pop_all_targets (void) |
void | pop_all_targets_above (enum strata above_stratum) |
int | target_is_pushed (struct target_ops *t) |
CORE_ADDR | target_translate_tls_address (struct objfile *objfile, CORE_ADDR offset) |
struct target_section * | target_section_by_addr (struct target_ops *target, CORE_ADDR addr) |
struct target_section_table * | target_get_section_table (struct target_ops *target) |
int | memory_remove_breakpoint (struct gdbarch *, struct bp_target_info *) |
int | memory_insert_breakpoint (struct gdbarch *, struct bp_target_info *) |
int | default_memory_remove_breakpoint (struct gdbarch *, struct bp_target_info *) |
int | default_memory_insert_breakpoint (struct gdbarch *, struct bp_target_info *) |
void | initialize_targets (void) |
void | noprocess (void) ATTRIBUTE_NORETURN |
void | target_require_runnable (void) |
void | find_default_attach (struct target_ops *, char *, int) |
void | find_default_create_inferior (struct target_ops *, char *, char *, char **, int) |
struct target_ops * | find_target_beneath (struct target_ops *) |
char * | target_get_osdata (const char *type) |
struct cleanup * | make_show_memory_breakpoints_cleanup (int show) |
void | update_target_permissions (void) |
void | target_ignore (void) |
int | target_supports_btrace (void) |
struct btrace_target_info * | target_enable_btrace (ptid_t ptid) |
void | target_disable_btrace (struct btrace_target_info *btinfo) |
void | target_teardown_btrace (struct btrace_target_info *btinfo) |
VEC (btrace_block_s)*target_read_btrace(struct btrace_target_info * | |
enum btrace_read_type void | target_stop_recording (void) |
void | target_info_record (void) |
void | target_save_record (const char *filename) |
int | target_supports_delete_record (void) |
void | target_delete_record (void) |
int | target_record_is_replaying (void) |
void | target_goto_record_begin (void) |
void | target_goto_record_end (void) |
void | target_goto_record (ULONGEST insn) |
void | target_insn_history (int size, int flags) |
void | target_insn_history_from (ULONGEST from, int size, int flags) |
void | target_insn_history_range (ULONGEST begin, ULONGEST end, int flags) |
void | target_call_history (int size, int flags) |
void | target_call_history_from (ULONGEST begin, int size, int flags) |
void | target_call_history_range (ULONGEST begin, ULONGEST end, int flags) |
Variables | |
ULONGEST | offset |
ULONGEST LONGEST | len |
struct target_ops | current_target |
int | target_async_permitted |
int | remote_debug |
int | baud_rate |
int | remote_timeout |
int | may_write_registers |
int | may_write_memory |
int | may_insert_breakpoints |
int | may_insert_tracepoints |
int | may_insert_fast_tracepoints |
int | may_stop |
#define target_async | ( | CALLBACK, | |
CONTEXT | |||
) | (current_target.to_async ((CALLBACK), (CONTEXT))) |
#define target_attach_no_wait (current_target.to_attach_no_wait) |
#define target_augmented_libraries_svr4_read | ( | ) | (*current_target.to_augmented_libraries_svr4_read) () |
#define target_can_accel_watchpoint_condition | ( | addr, | |
len, | |||
type, | |||
cond | |||
) | (*current_target.to_can_accel_watchpoint_condition) (addr, len, type, cond) |
#define target_can_async_p | ( | ) | (current_target.to_can_async_p ()) |
#define target_can_download_tracepoint | ( | ) | (*current_target.to_can_download_tracepoint) () |
#define target_can_execute_reverse |
(current_target.to_can_execute_reverse ? \ current_target.to_can_execute_reverse () : 0)
#define target_can_lock_scheduler (current_target.to_has_thread_control & tc_schedlock) |
#define target_can_run | ( | t | ) | ((t)->to_can_run) () |
#define target_can_run_breakpoint_commands | ( | ) | (*current_target.to_can_run_breakpoint_commands) () |
#define target_can_use_agent | ( | ) | (*current_target.to_can_use_agent) () |
#define target_can_use_hardware_watchpoint | ( | TYPE, | |
CNT, | |||
OTHERTYPE | |||
) | (*current_target.to_can_use_hw_breakpoint) (TYPE, CNT, OTHERTYPE); |
#define target_disable_tracepoint | ( | loc | ) | (*current_target.to_disable_tracepoint) (loc) |
#define target_download_trace_state_variable | ( | tsv | ) | (*current_target.to_download_trace_state_variable) (tsv) |
#define target_download_tracepoint | ( | t | ) | (*current_target.to_download_tracepoint) (t) |
#define target_enable_tracepoint | ( | loc | ) | (*current_target.to_enable_tracepoint) (loc) |
#define target_execution_direction | ( | ) | (current_target.to_execution_direction ()) |
#define target_extra_thread_info | ( | TP | ) | (current_target.to_extra_thread_info (TP)) |
#define target_files_info | ( | ) | (*current_target.to_files_info) (¤t_target) |
#define target_find_memory_regions | ( | FUNC, | |
DATA | |||
) | (current_target.to_find_memory_regions) (FUNC, DATA) |
#define target_get_ada_task_ptid | ( | lwp, | |
tid | |||
) | (*current_target.to_get_ada_task_ptid) (lwp,tid) |
#define target_get_bookmark | ( | ARGS, | |
FROM_TTY | |||
) | (current_target.to_get_bookmark) (ARGS, FROM_TTY) |
#define target_get_min_fast_tracepoint_insn_len | ( | ) | (*current_target.to_get_min_fast_tracepoint_insn_len) () |
#define target_get_raw_trace_data | ( | buf, | |
offset, | |||
len | |||
) | (*current_target.to_get_raw_trace_data) ((buf), (offset), (len)) |
#define target_get_tib_address | ( | ptid, | |
addr | |||
) | (*current_target.to_get_tib_address) ((ptid), (addr)) |
#define target_get_trace_state_variable_value | ( | tsv, | |
val | |||
) | (*current_target.to_get_trace_state_variable_value) ((tsv), (val)) |
#define target_get_trace_status | ( | ts | ) | (*current_target.to_get_trace_status) (ts) |
#define target_get_tracepoint_status | ( | tp, | |
utp | |||
) | (*current_target.to_get_tracepoint_status) (tp, utp) |
#define target_goto_bookmark | ( | ARG, | |
FROM_TTY | |||
) | (current_target.to_goto_bookmark) (ARG, FROM_TTY) |
#define target_has_all_memory target_has_all_memory_1 () |
#define target_has_execution target_has_execution_current () |
#define target_has_exited | ( | pid, | |
wait_status, | |||
exit_status | |||
) | (*current_target.to_has_exited) (pid,wait_status,exit_status) |
#define target_has_memory target_has_memory_1 () |
#define target_has_registers target_has_registers_1 () |
#define target_has_stack target_has_stack_1 () |
#define target_have_continuable_watchpoint (current_target.to_have_continuable_watchpoint) |
#define target_have_steppable_watchpoint (current_target.to_have_steppable_watchpoint) |
#define target_insert_exec_catchpoint | ( | pid | ) | (*current_target.to_insert_exec_catchpoint) (pid) |
#define target_insert_fork_catchpoint | ( | pid | ) | (*current_target.to_insert_fork_catchpoint) (pid) |
#define target_insert_hw_breakpoint | ( | gdbarch, | |
bp_tgt | |||
) | (*current_target.to_insert_hw_breakpoint) (gdbarch, bp_tgt) |
#define target_insert_vfork_catchpoint | ( | pid | ) | (*current_target.to_insert_vfork_catchpoint) (pid) |
#define target_insert_watchpoint | ( | addr, | |
len, | |||
type, | |||
cond | |||
) | (*current_target.to_insert_watchpoint) (addr, len, type, cond) |
#define target_is_async_p | ( | ) | (current_target.to_is_async_p ()) |
#define target_log_command | ( | p | ) |
do \ if (current_target.to_log_command) \ (*current_target.to_log_command) (p); \ while (0)
#define target_longname (current_target.to_longname) |
#define target_make_corefile_notes | ( | BFD, | |
SIZE_P | |||
) | (current_target.to_make_corefile_notes) (BFD, SIZE_P) |
#define target_pid_to_exec_file | ( | pid | ) | (current_target.to_pid_to_exec_file) (pid) |
#define target_post_attach | ( | pid | ) | (*current_target.to_post_attach) (pid) |
#define target_post_startup_inferior | ( | ptid | ) | (*current_target.to_post_startup_inferior) (ptid) |
#define target_prepare_to_store | ( | regcache | ) | (*current_target.to_prepare_to_store) (regcache) |
#define target_rcmd | ( | command, | |
outbuf | |||
) | (*current_target.to_rcmd) (command, outbuf) |
#define target_region_ok_for_hw_watchpoint | ( | addr, | |
len | |||
) | (*current_target.to_region_ok_for_hw_watchpoint) (addr, len) |
#define target_remove_exec_catchpoint | ( | pid | ) | (*current_target.to_remove_exec_catchpoint) (pid) |
#define target_remove_fork_catchpoint | ( | pid | ) | (*current_target.to_remove_fork_catchpoint) (pid) |
#define target_remove_hw_breakpoint | ( | gdbarch, | |
bp_tgt | |||
) | (*current_target.to_remove_hw_breakpoint) (gdbarch, bp_tgt) |
#define target_remove_vfork_catchpoint | ( | pid | ) | (*current_target.to_remove_vfork_catchpoint) (pid) |
#define target_remove_watchpoint | ( | addr, | |
len, | |||
type, | |||
cond | |||
) | (*current_target.to_remove_watchpoint) (addr, len, type, cond) |
#define target_save_trace_data | ( | filename | ) | (*current_target.to_save_trace_data) (filename) |
#define target_set_circular_trace_buffer | ( | val | ) | (*current_target.to_set_circular_trace_buffer) (val) |
#define target_set_disconnected_tracing | ( | val | ) | (*current_target.to_set_disconnected_tracing) (val) |
#define target_set_permissions | ( | ) | (*current_target.to_set_permissions) () |
#define target_set_syscall_catchpoint | ( | pid, | |
needed, | |||
any_count, | |||
table_size, | |||
table | |||
) |
(*current_target.to_set_syscall_catchpoint) (pid, needed, any_count, \ table_size, table)
#define target_set_trace_buffer_size | ( | val | ) | (*current_target.to_set_trace_buffer_size) (val) |
#define target_set_trace_notes | ( | user, | |
notes, | |||
stopnotes | |||
) | (*current_target.to_set_trace_notes) ((user), (notes), (stopnotes)) |
#define target_shortname (current_target.to_shortname) |
#define target_static_tracepoint_marker_at | ( | addr, | |
marker | |||
) | (*current_target.to_static_tracepoint_marker_at) (addr, marker) |
#define target_static_tracepoint_markers_by_strid | ( | marker_id | ) | (*current_target.to_static_tracepoint_markers_by_strid) (marker_id) |
#define target_stopped_by_watchpoint (*current_target.to_stopped_by_watchpoint) |
#define target_stopped_data_address | ( | target, | |
addr_p | |||
) | (*target.to_stopped_data_address) (target, addr_p) |
#define target_supports_enable_disable_tracepoint | ( | ) | (*current_target.to_supports_enable_disable_tracepoint) () |
#define target_supports_evaluation_of_breakpoint_conditions | ( | ) | (*current_target.to_supports_evaluation_of_breakpoint_conditions) () |
#define target_supports_multi_process | ( | ) | (*current_target.to_supports_multi_process) () |
#define target_supports_string_tracing | ( | ) | (*current_target.to_supports_string_tracing) () |
#define target_terminal_info | ( | arg, | |
from_tty | |||
) | (*current_target.to_terminal_info) (arg, from_tty) |
#define target_terminal_init | ( | ) | (*current_target.to_terminal_init) () |
#define target_terminal_ours | ( | ) | (*current_target.to_terminal_ours) () |
#define target_terminal_ours_for_output | ( | ) | (*current_target.to_terminal_ours_for_output) () |
#define target_terminal_save_ours | ( | ) | (*current_target.to_terminal_save_ours) () |
#define target_thread_architecture | ( | ptid | ) | (current_target.to_thread_architecture (¤t_target, ptid)) |
#define target_trace_find | ( | type, | |
num, | |||
addr1, | |||
addr2, | |||
tpp | |||
) | (*current_target.to_trace_find) ((type), (num), (addr1), (addr2), (tpp)) |
#define target_trace_init | ( | ) | (*current_target.to_trace_init) () |
#define target_trace_set_readonly_regions | ( | ) | (*current_target.to_trace_set_readonly_regions) () |
#define target_trace_start | ( | ) | (*current_target.to_trace_start) () |
#define target_trace_stop | ( | ) | (*current_target.to_trace_stop) () |
#define target_traceframe_info | ( | ) | (*current_target.to_traceframe_info) () |
#define target_upload_trace_state_variables | ( | utsvp | ) | (*current_target.to_upload_trace_state_variables) (utsvp) |
#define target_upload_tracepoints | ( | utpp | ) | (*current_target.to_upload_tracepoints) (utpp) |
#define target_use_agent | ( | use | ) | (*current_target.to_use_agent) (use) |
#define target_watchpoint_addr_within_range | ( | target, | |
addr, | |||
start, | |||
length | |||
) | (*target.to_watchpoint_addr_within_range) (target, addr, start, length) |
typedef struct memory_read_result memory_read_result_s |
typedef struct memory_write_request memory_write_request_s |
typedef struct static_tracepoint_marker* static_tracepoint_marker_p |
enum flash_preserve_mode |
enum inferior_event_type |
enum strata |
enum target_object |
enum target_xfer_error |
enum trace_find_type |
void add_deprecated_target_alias | ( | struct target_ops * | t, |
char * | alias | ||
) |
void add_target | ( | struct target_ops * | ) |
void add_target_with_completer | ( | struct target_ops * | t, |
completer_ftype * | completer | ||
) |
void complete_target_initialization | ( | struct target_ops * | t | ) |
int default_child_has_all_memory | ( | struct target_ops * | ops | ) |
int default_child_has_execution | ( | struct target_ops * | ops, |
ptid_t | the_ptid | ||
) |
int default_child_has_memory | ( | struct target_ops * | ops | ) |
int default_child_has_registers | ( | struct target_ops * | ops | ) |
int default_child_has_stack | ( | struct target_ops * | ops | ) |
int default_memory_insert_breakpoint | ( | struct gdbarch * | , |
struct bp_target_info * | |||
) |
Definition at line 40 of file mem-break.c.
int default_memory_remove_breakpoint | ( | struct gdbarch * | , |
struct bp_target_info * | |||
) |
Definition at line 71 of file mem-break.c.
void find_default_attach | ( | struct target_ops * | , |
char * | , | ||
int | |||
) |
void find_default_create_inferior | ( | struct target_ops * | , |
char * | , | ||
char * | , | ||
char ** | , | ||
int | |||
) |
struct target_ops* find_target_beneath | ( | struct target_ops * | ) | [read] |
void free_memory_read_result_vector | ( | void * | ) |
void get_target_memory | ( | struct target_ops * | ops, |
CORE_ADDR | addr, | ||
gdb_byte * | buf, | ||
LONGEST | len | ||
) |
ULONGEST get_target_memory_unsigned | ( | struct target_ops * | ops, |
CORE_ADDR | addr, | ||
int | len, | ||
enum bfd_endian | byte_order | ||
) |
void initialize_targets | ( | void | ) |
struct cleanup* make_show_memory_breakpoints_cleanup | ( | int | show | ) | [read] |
int memory_insert_breakpoint | ( | struct gdbarch * | , |
struct bp_target_info * | |||
) |
Definition at line 80 of file mem-break.c.
int memory_remove_breakpoint | ( | struct gdbarch * | , |
struct bp_target_info * | |||
) |
Definition at line 87 of file mem-break.c.
char* normal_pid_to_str | ( | ptid_t | ptid | ) |
void pop_all_targets | ( | void | ) |
void pop_all_targets_above | ( | enum strata | above_stratum | ) |
void push_target | ( | struct target_ops * | ) |
int simple_search_memory | ( | struct target_ops * | ops, |
CORE_ADDR | start_addr, | ||
ULONGEST | search_space_len, | ||
const gdb_byte * | pattern, | ||
ULONGEST | pattern_len, | ||
CORE_ADDR * | found_addrp | ||
) |
void target_attach | ( | char * | , |
int | |||
) |
void target_call_history | ( | int | size, |
int | flags | ||
) |
void target_call_history_from | ( | ULONGEST | begin, |
int | size, | ||
int | flags | ||
) |
void target_call_history_range | ( | ULONGEST | begin, |
ULONGEST | end, | ||
int | flags | ||
) |
void target_close | ( | struct target_ops * | targ | ) |
int target_core_of_thread | ( | ptid_t | ptid | ) |
void target_create_inferior | ( | char * | exec_file, |
char * | args, | ||
char ** | env, | ||
int | from_tty | ||
) |
void target_dcache_invalidate | ( | void | ) |
void target_delete_record | ( | void | ) |
void target_detach | ( | char * | , |
int | |||
) |
void target_disable_btrace | ( | struct btrace_target_info * | btinfo | ) |
void target_disconnect | ( | char * | , |
int | |||
) |
struct btrace_target_info* target_enable_btrace | ( | ptid_t | ptid | ) | [read] |
void target_fetch_registers | ( | struct regcache * | regcache, |
int | regno | ||
) |
LONGEST target_fileio_read_alloc | ( | const char * | filename, |
gdb_byte ** | buf_p | ||
) |
char* target_fileio_read_stralloc | ( | const char * | filename | ) |
char* target_fileio_readlink | ( | const char * | filename, |
int * | target_errno | ||
) |
int target_fileio_unlink | ( | const char * | filename, |
int * | target_errno | ||
) |
void target_find_new_threads | ( | void | ) |
void target_flash_done | ( | void | ) |
void target_flash_erase | ( | ULONGEST | address, |
LONGEST | length | ||
) |
int target_follow_fork | ( | int | follow_child, |
int | detach_fork | ||
) |
char* target_get_osdata | ( | const char * | type | ) |
struct target_section_table* target_get_section_table | ( | struct target_ops * | target | ) | [read] |
void target_goto_record | ( | ULONGEST | insn | ) |
void target_goto_record_begin | ( | void | ) |
void target_goto_record_end | ( | void | ) |
int target_has_all_memory_1 | ( | void | ) |
int target_has_execution_current | ( | void | ) |
int target_has_memory_1 | ( | void | ) |
int target_has_registers_1 | ( | void | ) |
int target_has_stack_1 | ( | void | ) |
void target_ignore | ( | void | ) |
int target_info_proc | ( | char * | , |
enum | info_proc_what | ||
) |
void target_info_record | ( | void | ) |
int target_insert_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt | ||
) |
void target_insn_history | ( | int | size, |
int | flags | ||
) |
void target_insn_history_from | ( | ULONGEST | from, |
int | size, | ||
int | flags | ||
) |
void target_insn_history_range | ( | ULONGEST | begin, |
ULONGEST | end, | ||
int | flags | ||
) |
int target_is_pushed | ( | struct target_ops * | t | ) |
void target_kill | ( | void | ) |
void target_load | ( | char * | arg, |
int | from_tty | ||
) |
int target_masked_watch_num_registers | ( | CORE_ADDR | addr, |
CORE_ADDR | mask | ||
) |
void target_mourn_inferior | ( | void | ) |
char* target_options_to_string | ( | int | target_options | ) |
void target_pass_signals | ( | int | nsig, |
unsigned char * | pass_signals | ||
) |
char* target_pid_to_str | ( | ptid_t | ptid | ) |
void target_pre_inferior | ( | int | ) |
void target_preopen | ( | int | ) |
void target_program_signals | ( | int | nsig, |
unsigned char * | program_signals | ||
) |
int target_ranged_break_num_registers | ( | void | ) |
LONGEST target_read | ( | struct target_ops * | ops, |
enum target_object | object, | ||
const char * | annex, | ||
gdb_byte * | buf, | ||
ULONGEST | offset, | ||
LONGEST | len | ||
) |
LONGEST target_read_alloc | ( | struct target_ops * | ops, |
enum target_object | object, | ||
const char * | annex, | ||
gdb_byte ** | buf_p | ||
) |
struct target_desc* target_read_description | ( | struct target_ops * | ) | [read] |
int target_read_memory | ( | CORE_ADDR | memaddr, |
gdb_byte * | myaddr, | ||
ssize_t | len | ||
) |
int target_read_stack | ( | CORE_ADDR | memaddr, |
gdb_byte * | myaddr, | ||
ssize_t | len | ||
) |
char* target_read_stralloc | ( | struct target_ops * | ops, |
enum target_object | object, | ||
const char * | annex | ||
) |
int target_read_string | ( | CORE_ADDR | , |
char ** | , | ||
int | , | ||
int * | |||
) |
int target_record_is_replaying | ( | void | ) |
int target_remove_breakpoint | ( | struct gdbarch * | gdbarch, |
struct bp_target_info * | bp_tgt | ||
) |
void target_require_runnable | ( | void | ) |
void target_resume | ( | ptid_t | ptid, |
int | step, | ||
enum gdb_signal | signal | ||
) |
void target_save_record | ( | const char * | filename | ) |
struct target_section* target_section_by_addr | ( | struct target_ops * | target, |
CORE_ADDR | addr | ||
) | [read] |
void target_stop | ( | ptid_t | ptid | ) |
enum btrace_read_type void target_stop_recording | ( | void | ) |
void target_store_registers | ( | struct regcache * | regcache, |
int | regs | ||
) |
int target_supports_btrace | ( | void | ) |
int target_supports_delete_record | ( | void | ) |
int target_supports_disable_randomization | ( | void | ) |
int target_supports_non_stop | ( | void | ) |
void target_teardown_btrace | ( | struct btrace_target_info * | btinfo | ) |
void target_terminal_inferior | ( | void | ) |
struct address_space* target_thread_address_space | ( | ptid_t | ) | [read] |
int target_thread_alive | ( | ptid_t | ptid | ) |
char* target_thread_name | ( | struct thread_info * | ) |
CORE_ADDR target_translate_tls_address | ( | struct objfile * | objfile, |
CORE_ADDR | offset | ||
) |
ptid_t target_wait | ( | ptid_t | ptid, |
struct target_waitstatus * | status, | ||
int | options | ||
) |
char* target_waitstatus_to_string | ( | const struct target_waitstatus * | ) |
Definition at line 32 of file waitstatus.c.
LONGEST target_write | ( | struct target_ops * | ops, |
enum target_object | object, | ||
const char * | annex, | ||
const gdb_byte * | buf, | ||
ULONGEST | offset, | ||
LONGEST | len | ||
) |
int target_write_memory | ( | CORE_ADDR | memaddr, |
const gdb_byte * | myaddr, | ||
ssize_t | len | ||
) |
int target_write_memory_blocks | ( | VEC(memory_write_request_s)* | requests, |
enum flash_preserve_mode | preserve_flash_p, | ||
void(*)(ULONGEST, void *) | progress_cb | ||
) |
Definition at line 311 of file target-memory.c.
int target_write_raw_memory | ( | CORE_ADDR | memaddr, |
const gdb_byte * | myaddr, | ||
ssize_t | len | ||
) |
LONGEST target_write_with_progress | ( | struct target_ops * | ops, |
enum target_object | object, | ||
const char * | annex, | ||
const gdb_byte * | buf, | ||
ULONGEST | offset, | ||
LONGEST | len, | ||
void(*)(ULONGEST, void *) | progress, | ||
void * | baton | ||
) |
const char* target_xfer_error_to_string | ( | enum target_xfer_error | err | ) |
LONGEST target_xfer_partial | ( | struct target_ops * | ops, |
enum target_object | object, | ||
const char * | annex, | ||
void * | readbuf, | ||
const void * | writebuf, | ||
ULONGEST | offset, | ||
LONGEST | len | ||
) |
int unpush_target | ( | struct target_ops * | ) |
void update_target_permissions | ( | void | ) |
VEC | ( | mem_region_s | ) |
VEC | ( | btrace_block_s | ) |
struct target_ops current_target |