GDBserver
Classes | Defines | Functions | Variables
/home/stan/gdb/src/gdb/gdbserver/linux-low.h File Reference
#include "gdb_thread_db.h"
#include <signal.h>
#include "gdbthread.h"
#include "gdb_proc_service.h"
#include "linux-ptrace.h"

Go to the source code of this file.

Classes

struct  usrregs_info
struct  regs_info
struct  process_info_private
struct  linux_target_ops
struct  lwp_info

Defines

#define PTRACE_XFER_TYPE   long
#define ptid_of(proc)   ((proc)->head.id)
#define pid_of(proc)   ptid_get_pid ((proc)->head.id)
#define lwpid_of(proc)   ptid_get_lwp ((proc)->head.id)
#define get_lwp(inf)   ((struct lwp_info *)(inf))
#define get_thread_lwp(thr)   (get_lwp (inferior_target_data (thr)))
#define get_lwp_thread(proc)

Functions

int linux_pid_exe_is_elf_64_file (int pid, unsigned int *machine)
void linux_attach_lwp (unsigned long pid)
struct lwp_infofind_lwp_pid (ptid_t ptid)
void linux_stop_lwp (struct lwp_info *lwp)
void initialize_low_arch (void)
int thread_db_init (int use_events)
void thread_db_detach (struct process_info *)
void thread_db_mourn (struct process_info *)
int thread_db_handle_monitor_command (char *)
int thread_db_get_tls_address (struct thread_info *thread, CORE_ADDR offset, CORE_ADDR load_module, CORE_ADDR *address)
int thread_db_look_up_one_symbol (const char *name, CORE_ADDR *addrp)

Variables

struct linux_target_ops the_low_target
struct inferior_list all_lwps

Define Documentation

#define get_lwp (   inf)    ((struct lwp_info *)(inf))

Definition at line 230 of file linux-low.h.

#define get_lwp_thread (   proc)
#define get_thread_lwp (   thr)    (get_lwp (inferior_target_data (thr)))
#define lwpid_of (   proc)    ptid_get_lwp ((proc)->head.id)
#define pid_of (   proc)    ptid_get_pid ((proc)->head.id)
#define ptid_of (   proc)    ((proc)->head.id)
#define PTRACE_XFER_TYPE   long

Definition at line 28 of file linux-low.h.

Referenced by linux_read_memory(), and linux_write_memory().


Function Documentation

struct lwp_info* find_lwp_pid ( ptid_t  ptid) [read]
void initialize_low_arch ( void  )

Definition at line 1305 of file linux-aarch64-low.c.

References arm_regsets_info, copy_target_description(), cris_regsets_info, init_registers_aarch64(), init_registers_amd64_linux(), init_registers_arm(), init_registers_arm_with_iwmmxt(), init_registers_arm_with_neon(), init_registers_arm_with_vfpv2(), init_registers_arm_with_vfpv3(), init_registers_bfin(), init_registers_cris(), init_registers_crisv32(), init_registers_i386_avx_linux(), init_registers_i386_linux(), init_registers_i386_mmx_linux(), init_registers_ia64(), init_registers_m32r(), init_registers_m68k(), init_registers_mips64_dsp_linux(), init_registers_mips64_linux(), init_registers_mips_dsp_linux(), init_registers_mips_linux(), init_registers_nios2_linux(), init_registers_powerpc_32l(), init_registers_powerpc_64l(), init_registers_powerpc_altivec32l(), init_registers_powerpc_altivec64l(), init_registers_powerpc_cell32l(), init_registers_powerpc_cell64l(), init_registers_powerpc_e500l(), init_registers_powerpc_isa205_32l(), init_registers_powerpc_isa205_64l(), init_registers_powerpc_isa205_altivec32l(), init_registers_powerpc_isa205_altivec64l(), init_registers_powerpc_isa205_vsx32l(), init_registers_powerpc_isa205_vsx64l(), init_registers_powerpc_vsx32l(), init_registers_powerpc_vsx64l(), init_registers_s390_linux32(), init_registers_s390_linux32v1(), init_registers_s390_linux32v2(), init_registers_s390_linux64(), init_registers_s390_linux64v1(), init_registers_s390_linux64v2(), init_registers_s390_te_linux64(), init_registers_s390x_linux64(), init_registers_s390x_linux64v1(), init_registers_s390x_linux64v2(), init_registers_s390x_te_linux64(), init_registers_sh(), init_registers_sparc64(), init_registers_tic6x_c62x_linux(), init_registers_tic6x_c64x_linux(), init_registers_tic6x_c64xp_linux(), init_registers_tilegx(), init_registers_tilegx32(), init_registers_xtensa(), ppc_regsets_info, sh_regsets_info, tic6x_regsets_info, tile_regsets_info, xmalloc(), target_desc::xmltarget, and xmltarget_i386_linux_no_xml.

Referenced by initialize_low().

void linux_attach_lwp ( unsigned long  pid)

Definition at line 758 of file linux-low.c.

References linux_attach_lwp_1().

Referenced by attach_thread().

int linux_pid_exe_is_elf_64_file ( int  pid,
unsigned int *  machine 
)

Definition at line 338 of file linux-low.c.

References elf_64_file_p().

Referenced by tile_arch_setup(), x86_linux_read_description(), and x86_siginfo_fixup().

void linux_stop_lwp ( struct lwp_info lwp)
void thread_db_detach ( struct process_info )
int thread_db_get_tls_address ( struct thread_info thread,
CORE_ADDR  offset,
CORE_ADDR  load_module,
CORE_ADDR address 
)

Definition at line 946 of file thread-db.c.

References libthread_db_search_path, monitor_output(), and xstrdup().

int thread_db_init ( int  use_events)
int thread_db_look_up_one_symbol ( const char *  name,
CORE_ADDR addrp 
)
void thread_db_mourn ( struct process_info )

Variable Documentation

Definition at line 1278 of file linux-aarch64-low.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines