|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| struct | ps_prochandle |
Typedefs | |
| typedef unsigned int | lwpid_t |
| typedef void * | psaddr_t |
| typedef gdb_gregset_t | prgregset_t |
| typedef gdb_fpregset_t | prfpregset_t |
Enumerations | |
| enum | ps_err_e { PS_OK, PS_ERR, PS_BADPID, PS_BADLID, PS_BADADDR, PS_NOSYM, PS_NOFREGS } |
Variables | |
| EXTERN_C_POP typedef prfpregset_t | gdb_prfpregset_t |
| typedef unsigned int lwpid_t |
Definition at line 80 of file gdb_proc_service.h.
| typedef gdb_fpregset_t prfpregset_t |
Definition at line 92 of file gdb_proc_service.h.
| typedef gdb_gregset_t prgregset_t |
Definition at line 88 of file gdb_proc_service.h.
| typedef void* psaddr_t |
Definition at line 84 of file gdb_proc_service.h.
| enum ps_err_e |
| Enumerator | |
|---|---|
| PS_OK | |
| PS_ERR | |
| PS_BADPID | |
| PS_BADLID | |
| PS_BADADDR | |
| PS_NOSYM | |
| PS_NOFREGS | |
Definition at line 68 of file gdb_proc_service.h.
| ps_err_e ps_get_thread_area | ( | struct ps_prochandle * | , |
| lwpid_t | , | ||
| int | , | ||
| psaddr_t * | |||
| ) |
Definition at line 460 of file aarch64-linux-nat.c.
References aarch64_ps_get_thread_area(), ELF_NGREG, gdb_assert, gdbarch_bfd_arch_info(), PS_BADADDR, PS_ERR, PS_OK, ptrace(), PTRACE_ARCH_PRCTL, PTRACE_GET_THREAD_AREA, PTRACE_GETREGS, target_gdbarch(), xtensa_elf_gregset_t::threadptr, and x86_linux_get_thread_area().
| pid_t ps_getpid | ( | struct ps_prochandle * | ) |
Definition at line 197 of file proc-service.c.
References ps_prochandle::ptid, and ptid_get_pid().
| ps_err_e ps_lcontinue | ( | struct ps_prochandle * | , |
| lwpid_t | |||
| ) |
Definition at line 735 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_lgetfpregs | ( | struct ps_prochandle * | , |
| lwpid_t | , | ||
| prfpregset_t * | |||
| ) |
Definition at line 895 of file sol-thread.c.
References fill_fpregset(), get_thread_arch_regcache(), inferior_ptid, PS_OK, regcache::ptid(), ptid_build(), ptid_get_pid(), target_fetch_registers(), and target_gdbarch().
| ps_err_e ps_lgetregs | ( | struct ps_prochandle * | , |
| lwpid_t | , | ||
| prgregset_t | |||
| ) |
Definition at line 132 of file proc-service.c.
References fill_gregset(), get_thread_arch_regcache(), inferior_ptid, PS_OK, ps_prochandle::ptid, regcache::ptid(), ptid_build(), ptid_get_pid(), target_fetch_registers(), and target_gdbarch().
| ps_err_e ps_lgetxregs | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| caddr_t | xregset | ||
| ) |
Definition at line 879 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_lgetxregsize | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| int * | xregsize | ||
| ) |
Definition at line 871 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_lsetfpregs | ( | struct ps_prochandle * | , |
| lwpid_t | , | ||
| const prfpregset_t * | |||
| ) |
Definition at line 911 of file sol-thread.c.
References get_thread_arch_regcache(), inferior_ptid, PS_OK, regcache::ptid(), ptid_build(), ptid_get_pid(), supply_fpregset(), target_gdbarch(), and target_store_registers().
| ps_err_e ps_lsetregs | ( | struct ps_prochandle * | , |
| lwpid_t | , | ||
| const prgregset_t | |||
| ) |
Definition at line 148 of file proc-service.c.
References get_thread_arch_regcache(), inferior_ptid, PS_OK, ps_prochandle::ptid, regcache::ptid(), ptid_build(), ptid_get_pid(), supply_gregset(), target_gdbarch(), and target_store_registers().
| ps_err_e ps_lsetxregs | ( | struct ps_prochandle * | ph, |
| lwpid_t | lwpid, | ||
| caddr_t | xregset | ||
| ) |
Definition at line 887 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_lstop | ( | struct ps_prochandle * | , |
| lwpid_t | |||
| ) |
Definition at line 727 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_pcontinue | ( | struct ps_prochandle * | ) |
Definition at line 719 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_pdread | ( | struct ps_prochandle * | , |
| psaddr_t | , | ||
| void * | , | ||
| size_t | |||
| ) |
Definition at line 114 of file proc-service.c.
References ps_xfer_memory(), rw_common(), and size.
| ps_err_e ps_pdwrite | ( | struct ps_prochandle * | , |
| psaddr_t | , | ||
| const void * | , | ||
| size_t | |||
| ) |
Definition at line 122 of file proc-service.c.
References ps_xfer_memory(), rw_common(), and size.
| ps_err_e ps_pglobal_lookup | ( | struct ps_prochandle * | , |
| const char * | object_name, | ||
| const char * | sym_name, | ||
| psaddr_t * | sym_addr | ||
| ) |
Definition at line 92 of file proc-service.c.
References BMSYMBOL_VALUE_ADDRESS, core_addr_to_ps_addr(), find_inferior_ptid(), lookup_minimal_symbol(), bound_minimal_symbol::minsym, name, PS_NOSYM, PS_OK, ps_prochandle::ptid, and set_current_program_space().
| void ps_plog | ( | const char * | fmt, |
| ... | |||
| ) |
Definition at line 859 of file sol-thread.c.
References gdb_stderr, and vfprintf_filtered().
| ps_err_e ps_pstop | ( | struct ps_prochandle * | ) |
Definition at line 711 of file sol-thread.c.
References PS_OK.
| ps_err_e ps_ptread | ( | struct ps_prochandle * | , |
| psaddr_t | , | ||
| void * | , | ||
| size_t | |||
| ) |
Definition at line 811 of file sol-thread.c.
References rw_common(), and size.
| ps_err_e ps_ptwrite | ( | struct ps_prochandle * | , |
| psaddr_t | , | ||
| const void * | , | ||
| size_t | |||
| ) |
Definition at line 819 of file sol-thread.c.
References rw_common(), and size.
| EXTERN_C_POP typedef prfpregset_t gdb_prfpregset_t |
Definition at line 175 of file gdb_proc_service.h.
1.8.14