GDB (API)
Public Member Functions | Public Attributes
target_ops Struct Reference

#include "target.h"

List of all members.

Public Member Functions

 VEC (mem_region_s)*(*to_memory_map)(struct target_ops *)
 VEC (static_tracepoint_marker_p)*(*to_static_tracepoint_markers_by_strid)(const char *id)
 VEC (btrace_block_s)*(*to_read_btrace)(struct btrace_target_info *

Public Attributes

struct target_opsbeneath
char * to_shortname
char * to_longname
char * to_doc
void * to_data
void(* to_open )(char *, int)
void(* to_xclose )(struct target_ops *targ)
void(* to_close )(void)
void(* to_attach )(struct target_ops *ops, char *, int)
void(* to_post_attach )(int)
void(* to_detach )(struct target_ops *ops, char *, int)
void(* to_disconnect )(struct target_ops *, char *, int)
void(* to_resume )(struct target_ops *, ptid_t, int, enum gdb_signal)
ptid_t(* to_wait )(struct target_ops *, ptid_t, struct target_waitstatus *, int)
void(* to_fetch_registers )(struct target_ops *, struct regcache *, int)
void(* to_store_registers )(struct target_ops *, struct regcache *, int)
void(* to_prepare_to_store )(struct regcache *)
int(* deprecated_xfer_memory )(CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target)
void(* to_files_info )(struct target_ops *)
int(* to_insert_breakpoint )(struct gdbarch *, struct bp_target_info *)
int(* to_remove_breakpoint )(struct gdbarch *, struct bp_target_info *)
int(* to_can_use_hw_breakpoint )(int, int, int)
int(* to_ranged_break_num_registers )(struct target_ops *)
int(* to_insert_hw_breakpoint )(struct gdbarch *, struct bp_target_info *)
int(* to_remove_hw_breakpoint )(struct gdbarch *, struct bp_target_info *)
int(* to_remove_watchpoint )(CORE_ADDR, int, int, struct expression *)
int(* to_insert_watchpoint )(CORE_ADDR, int, int, struct expression *)
int(* to_insert_mask_watchpoint )(struct target_ops *, CORE_ADDR, CORE_ADDR, int)
int(* to_remove_mask_watchpoint )(struct target_ops *, CORE_ADDR, CORE_ADDR, int)
int(* to_stopped_by_watchpoint )(void)
int to_have_steppable_watchpoint
int to_have_continuable_watchpoint
int(* to_stopped_data_address )(struct target_ops *, CORE_ADDR *)
int(* to_watchpoint_addr_within_range )(struct target_ops *, CORE_ADDR, CORE_ADDR, int)
int(* to_region_ok_for_hw_watchpoint )(CORE_ADDR, int)
int(* to_can_accel_watchpoint_condition )(CORE_ADDR, int, int, struct expression *)
int(* to_masked_watch_num_registers )(struct target_ops *, CORE_ADDR, CORE_ADDR)
void(* to_terminal_init )(void)
void(* to_terminal_inferior )(void)
void(* to_terminal_ours_for_output )(void)
void(* to_terminal_ours )(void)
void(* to_terminal_save_ours )(void)
void(* to_terminal_info )(const char *, int)
void(* to_kill )(struct target_ops *)
void(* to_load )(char *, int)
void(* to_create_inferior )(struct target_ops *, char *, char *, char **, int)
void(* to_post_startup_inferior )(ptid_t)
int(* to_insert_fork_catchpoint )(int)
int(* to_remove_fork_catchpoint )(int)
int(* to_insert_vfork_catchpoint )(int)
int(* to_remove_vfork_catchpoint )(int)
int(* to_follow_fork )(struct target_ops *, int, int)
int(* to_insert_exec_catchpoint )(int)
int(* to_remove_exec_catchpoint )(int)
int(* to_set_syscall_catchpoint )(int, int, int, int, int *)
int(* to_has_exited )(int, int, int *)
void(* to_mourn_inferior )(struct target_ops *)
int(* to_can_run )(void)
void(* to_pass_signals )(int, unsigned char *)
void(* to_program_signals )(int, unsigned char *)
int(* to_thread_alive )(struct target_ops *, ptid_t ptid)
void(* to_find_new_threads )(struct target_ops *)
char *(* to_pid_to_str )(struct target_ops *, ptid_t)
char *(* to_extra_thread_info )(struct thread_info *)
char *(* to_thread_name )(struct thread_info *)
void(* to_stop )(ptid_t)
void(* to_rcmd )(char *command, struct ui_file *output)
char *(* to_pid_to_exec_file )(int pid)
void(* to_log_command )(const char *)
struct target_section_table *(* to_get_section_table )(struct target_ops *)
enum strata to_stratum
int(* to_has_all_memory )(struct target_ops *)
int(* to_has_memory )(struct target_ops *)
int(* to_has_stack )(struct target_ops *)
int(* to_has_registers )(struct target_ops *)
int(* to_has_execution )(struct target_ops *, ptid_t)
int to_has_thread_control
int to_attach_no_wait
int(* to_can_async_p )(void)
int(* to_is_async_p )(void)
void(* to_async )(void(*)(enum inferior_event_type, void *), void *)
int(* to_supports_non_stop )(void)
int(* to_find_memory_regions )(find_memory_region_ftype func, void *data)
char *(* to_make_corefile_notes )(bfd *, int *)
gdb_byte *(* to_get_bookmark )(char *, int)
void(* to_goto_bookmark )(gdb_byte *, int)
CORE_ADDR(* to_get_thread_local_address )(struct target_ops *ops, ptid_t ptid, CORE_ADDR load_module_addr, CORE_ADDR offset)
LONGEST(* to_xfer_partial )(struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
void(* to_flash_erase )(struct target_ops *, ULONGEST address, LONGEST length)
void(* to_flash_done )(struct target_ops *)
struct target_desc *(* to_read_description )(struct target_ops *ops)
ptid_t(* to_get_ada_task_ptid )(long lwp, long thread)
int(* to_auxv_parse )(struct target_ops *ops, gdb_byte **readptr, gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp)
int(* to_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(* to_can_execute_reverse )(void)
enum exec_direction_kind(* to_execution_direction )(void)
int(* to_supports_multi_process )(void)
int(* to_supports_enable_disable_tracepoint )(void)
int(* to_supports_disable_randomization )(void)
int(* to_supports_string_tracing )(void)
int(* to_supports_evaluation_of_breakpoint_conditions )(void)
int(* to_can_run_breakpoint_commands )(void)
struct gdbarch *(* to_thread_architecture )(struct target_ops *, ptid_t)
struct address_space *(* to_thread_address_space )(struct target_ops *, ptid_t)
int(* to_fileio_open )(const char *filename, int flags, int mode, int *target_errno)
int(* to_fileio_pwrite )(int fd, const gdb_byte *write_buf, int len, ULONGEST offset, int *target_errno)
int(* to_fileio_pread )(int fd, gdb_byte *read_buf, int len, ULONGEST offset, int *target_errno)
int(* to_fileio_close )(int fd, int *target_errno)
int(* to_fileio_unlink )(const char *filename, int *target_errno)
char *(* to_fileio_readlink )(const char *filename, int *target_errno)
void(* to_info_proc )(struct target_ops *, char *, enum info_proc_what)
void(* to_trace_init )(void)
void(* to_download_tracepoint )(struct bp_location *location)
int(* to_can_download_tracepoint )(void)
void(* to_download_trace_state_variable )(struct trace_state_variable *tsv)
void(* to_enable_tracepoint )(struct bp_location *location)
void(* to_disable_tracepoint )(struct bp_location *location)
void(* to_trace_set_readonly_regions )(void)
void(* to_trace_start )(void)
int(* to_get_trace_status )(struct trace_status *ts)
void(* to_get_tracepoint_status )(struct breakpoint *tp, struct uploaded_tp *utp)
void(* to_trace_stop )(void)
int(* to_trace_find )(enum trace_find_type type, int num, CORE_ADDR addr1, CORE_ADDR addr2, int *tpp)
int(* to_get_trace_state_variable_value )(int tsv, LONGEST *val)
int(* to_save_trace_data )(const char *filename)
int(* to_upload_tracepoints )(struct uploaded_tp **utpp)
int(* to_upload_trace_state_variables )(struct uploaded_tsv **utsvp)
LONGEST(* to_get_raw_trace_data )(gdb_byte *buf, ULONGEST offset, LONGEST len)
int(* to_get_min_fast_tracepoint_insn_len )(void)
void(* to_set_disconnected_tracing )(int val)
void(* to_set_circular_trace_buffer )(int val)
void(* to_set_trace_buffer_size )(LONGEST val)
int(* to_set_trace_notes )(const char *user, const char *notes, const char *stopnotes)
int(* to_core_of_thread )(struct target_ops *, ptid_t ptid)
int(* to_verify_memory )(struct target_ops *, const gdb_byte *data, CORE_ADDR memaddr, ULONGEST size)
int(* to_get_tib_address )(ptid_t ptid, CORE_ADDR *addr)
void(* to_set_permissions )(void)
int(* to_static_tracepoint_marker_at )(CORE_ADDR, struct static_tracepoint_marker *marker)
struct traceframe_info *(* to_traceframe_info )(void)
int(* to_use_agent )(int use)
int(* to_can_use_agent )(void)
int(* to_supports_btrace )(void)
struct btrace_target_info *(* to_enable_btrace )(ptid_t ptid)
void(* to_disable_btrace )(struct btrace_target_info *tinfo)
void(* to_teardown_btrace )(struct btrace_target_info *tinfo)
enum btrace_read_type void(* to_stop_recording )(void)
void(* to_info_record )(void)
void(* to_save_record )(const char *filename)
void(* to_delete_record )(void)
int(* to_record_is_replaying )(void)
void(* to_goto_record_begin )(void)
void(* to_goto_record_end )(void)
void(* to_goto_record )(ULONGEST insn)
void(* to_insn_history )(int size, int flags)
void(* to_insn_history_from )(ULONGEST from, int size, int flags)
void(* to_insn_history_range )(ULONGEST begin, ULONGEST end, int flags)
void(* to_call_history )(int size, int flags)
void(* to_call_history_from )(ULONGEST begin, int size, int flags)
void(* to_call_history_range )(ULONGEST begin, ULONGEST end, int flags)
int(* to_augmented_libraries_svr4_read )(void)
int to_magic

Detailed Description

Definition at line 340 of file target.h.


Member Function Documentation


Member Data Documentation

Definition at line 342 of file target.h.

int(* target_ops::deprecated_xfer_memory)(CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target)

Definition at line 392 of file target.h.

void(* target_ops::to_async)(void(*)(enum inferior_event_type, void *), void *)

Definition at line 481 of file target.h.

void(* target_ops::to_attach)(struct target_ops *ops, char *, int)

Definition at line 360 of file target.h.

Definition at line 477 of file target.h.

Definition at line 888 of file target.h.

int(* target_ops::to_auxv_parse)(struct target_ops *ops, gdb_byte **readptr, gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp)

Definition at line 578 of file target.h.

Definition at line 874 of file target.h.

Definition at line 880 of file target.h.

Definition at line 884 of file target.h.

Definition at line 425 of file target.h.

Definition at line 479 of file target.h.

Definition at line 688 of file target.h.

Definition at line 593 of file target.h.

Definition at line 450 of file target.h.

Definition at line 620 of file target.h.

Definition at line 809 of file target.h.

Definition at line 400 of file target.h.

void(* target_ops::to_close)(void)

Definition at line 359 of file target.h.

Definition at line 763 of file target.h.

void(* target_ops::to_create_inferior)(struct target_ops *, char *, char *, char **, int)

Definition at line 437 of file target.h.

Definition at line 349 of file target.h.

Definition at line 841 of file target.h.

void(* target_ops::to_detach)(struct target_ops *ops, char *, int)

Definition at line 362 of file target.h.

Definition at line 819 of file target.h.

Definition at line 697 of file target.h.

void(* target_ops::to_disconnect)(struct target_ops *, char *, int)

Definition at line 363 of file target.h.

Definition at line 345 of file target.h.

Definition at line 691 of file target.h.

Definition at line 684 of file target.h.

Definition at line 816 of file target.h.

void(* target_ops::to_enable_tracepoint)(struct bp_location *location)

Definition at line 694 of file target.h.

Definition at line 598 of file target.h.

Definition at line 463 of file target.h.

void(* target_ops::to_fetch_registers)(struct target_ops *, struct regcache *, int)

Definition at line 367 of file target.h.

int(* target_ops::to_fileio_close)(int fd, int *target_errno)

Definition at line 663 of file target.h.

int(* target_ops::to_fileio_open)(const char *filename, int flags, int mode, int *target_errno)

Definition at line 646 of file target.h.

int(* target_ops::to_fileio_pread)(int fd, gdb_byte *read_buf, int len, ULONGEST offset, int *target_errno)

Definition at line 658 of file target.h.

int(* target_ops::to_fileio_pwrite)(int fd, const gdb_byte *write_buf, int len, ULONGEST offset, int *target_errno)

Definition at line 652 of file target.h.

char*(* target_ops::to_fileio_readlink)(const char *filename, int *target_errno)

Definition at line 672 of file target.h.

int(* target_ops::to_fileio_unlink)(const char *filename, int *target_errno)

Definition at line 667 of file target.h.

Definition at line 397 of file target.h.

Definition at line 484 of file target.h.

Definition at line 461 of file target.h.

Definition at line 561 of file target.h.

void(* target_ops::to_flash_erase)(struct target_ops *, ULONGEST address, LONGEST length)

Definition at line 554 of file target.h.

Definition at line 444 of file target.h.

ptid_t(* target_ops::to_get_ada_task_ptid)(long lwp, long thread)

Definition at line 572 of file target.h.

Definition at line 488 of file target.h.

Definition at line 742 of file target.h.

Definition at line 735 of file target.h.

Definition at line 469 of file target.h.

Definition at line 496 of file target.h.

Definition at line 774 of file target.h.

Definition at line 727 of file target.h.

Definition at line 708 of file target.h.

Definition at line 710 of file target.h.

Definition at line 490 of file target.h.

Definition at line 853 of file target.h.

Definition at line 847 of file target.h.

Definition at line 850 of file target.h.

Definition at line 471 of file target.h.

Definition at line 475 of file target.h.

Definition at line 448 of file target.h.

Definition at line 472 of file target.h.

Definition at line 474 of file target.h.

Definition at line 473 of file target.h.

Definition at line 476 of file target.h.

Definition at line 416 of file target.h.

Definition at line 415 of file target.h.

void(* target_ops::to_info_proc)(struct target_ops *, char *, enum info_proc_what)

Definition at line 676 of file target.h.

Definition at line 835 of file target.h.

int(* target_ops::to_insert_breakpoint)(struct gdbarch *, struct bp_target_info *)

Definition at line 398 of file target.h.

Definition at line 445 of file target.h.

Definition at line 440 of file target.h.

int(* target_ops::to_insert_hw_breakpoint)(struct gdbarch *, struct bp_target_info *)

Definition at line 402 of file target.h.

Definition at line 410 of file target.h.

Definition at line 442 of file target.h.

Definition at line 408 of file target.h.

Definition at line 859 of file target.h.

Definition at line 865 of file target.h.

Definition at line 869 of file target.h.

Definition at line 480 of file target.h.

void(* target_ops::to_kill)(struct target_ops *)

Definition at line 435 of file target.h.

void(* target_ops::to_load)(char *, int)

Definition at line 436 of file target.h.

Definition at line 468 of file target.h.

Definition at line 344 of file target.h.

Definition at line 890 of file target.h.

Definition at line 486 of file target.h.

Definition at line 427 of file target.h.

Definition at line 449 of file target.h.

void(* target_ops::to_open)(char *, int)

Definition at line 354 of file target.h.

void(* target_ops::to_pass_signals)(int, unsigned char *)

Definition at line 454 of file target.h.

Definition at line 467 of file target.h.

Definition at line 462 of file target.h.

Definition at line 361 of file target.h.

Definition at line 439 of file target.h.

void(* target_ops::to_prepare_to_store)(struct regcache *)

Definition at line 369 of file target.h.

void(* target_ops::to_program_signals)(int, unsigned char *)

Definition at line 458 of file target.h.

Definition at line 401 of file target.h.

void(* target_ops::to_rcmd)(char *command, struct ui_file *output)

Definition at line 466 of file target.h.

struct target_desc*(* target_ops::to_read_description)(struct target_ops *ops) [read]

Definition at line 566 of file target.h.

Definition at line 844 of file target.h.

Definition at line 423 of file target.h.

int(* target_ops::to_remove_breakpoint)(struct gdbarch *, struct bp_target_info *)

Definition at line 399 of file target.h.

Definition at line 446 of file target.h.

Definition at line 441 of file target.h.

int(* target_ops::to_remove_hw_breakpoint)(struct gdbarch *, struct bp_target_info *)

Definition at line 403 of file target.h.

Definition at line 412 of file target.h.

Definition at line 443 of file target.h.

Definition at line 407 of file target.h.

Definition at line 364 of file target.h.

void(* target_ops::to_save_record)(const char *filename)

Definition at line 838 of file target.h.

Definition at line 729 of file target.h.

int(* target_ops::to_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)

Definition at line 587 of file target.h.

Definition at line 747 of file target.h.

Definition at line 746 of file target.h.

Definition at line 777 of file target.h.

Definition at line 447 of file target.h.

Definition at line 749 of file target.h.

int(* target_ops::to_set_trace_notes)(const char *user, const char *notes, const char *stopnotes)

Definition at line 753 of file target.h.

Definition at line 343 of file target.h.

Definition at line 781 of file target.h.

Definition at line 465 of file target.h.

Definition at line 832 of file target.h.

Definition at line 414 of file target.h.

Definition at line 417 of file target.h.

void(* target_ops::to_store_registers)(struct target_ops *, struct regcache *, int)

Definition at line 368 of file target.h.

Definition at line 470 of file target.h.

Definition at line 812 of file target.h.

Definition at line 609 of file target.h.

Definition at line 606 of file target.h.

Definition at line 616 of file target.h.

Definition at line 602 of file target.h.

Definition at line 482 of file target.h.

Definition at line 612 of file target.h.

Definition at line 825 of file target.h.

Definition at line 430 of file target.h.

Definition at line 434 of file target.h.

Definition at line 429 of file target.h.

Definition at line 432 of file target.h.

Definition at line 431 of file target.h.

Definition at line 433 of file target.h.

struct address_space*(* target_ops::to_thread_address_space)(struct target_ops *, ptid_t) [read]

Definition at line 638 of file target.h.

Definition at line 460 of file target.h.

struct gdbarch*(* target_ops::to_thread_architecture)(struct target_ops *, ptid_t) [read]

Definition at line 632 of file target.h.

Definition at line 464 of file target.h.

Definition at line 721 of file target.h.

Definition at line 681 of file target.h.

Definition at line 702 of file target.h.

Definition at line 705 of file target.h.

Definition at line 714 of file target.h.

Definition at line 802 of file target.h.

Definition at line 733 of file target.h.

Definition at line 731 of file target.h.

Definition at line 806 of file target.h.

Definition at line 769 of file target.h.

Definition at line 365 of file target.h.

Definition at line 418 of file target.h.

void(* target_ops::to_xclose)(struct target_ops *targ)

Definition at line 358 of file target.h.

LONGEST(* target_ops::to_xfer_partial)(struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, LONGEST len)

Definition at line 529 of file target.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines