GDB (API)
Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/proc-service.c File Reference
#include "defs.h"
#include "gdbcore.h"
#include "inferior.h"
#include "symtab.h"
#include "target.h"
#include "regcache.h"
#include "gdb_proc_service.h"
#include <sys/procfs.h>
#include "gregset.h"

Go to the source code of this file.

Typedefs

typedef struct ps_prochandlegdb_ps_prochandle_t
typedef void * gdb_ps_read_buf_t
typedef const void * gdb_ps_write_buf_t
typedef size_t gdb_ps_size_t

Functions

ps_err_e ps_pstop (gdb_ps_prochandle_t ph)
ps_err_e ps_pcontinue (gdb_ps_prochandle_t ph)
ps_err_e ps_lstop (gdb_ps_prochandle_t ph, lwpid_t lwpid)
ps_err_e ps_lcontinue (gdb_ps_prochandle_t ph, lwpid_t lwpid)
ps_err_e ps_lgetxregsize (gdb_ps_prochandle_t ph, lwpid_t lwpid, int *xregsize)
ps_err_e ps_lgetxregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset)
ps_err_e ps_lsetxregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset)
void ps_plog (const char *fmt,...)
ps_err_e ps_pglobal_lookup (gdb_ps_prochandle_t ph, const char *obj, const char *name, psaddr_t *sym_addr)
ps_err_e ps_pdread (gdb_ps_prochandle_t ph, psaddr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_pdwrite (gdb_ps_prochandle_t ph, psaddr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_ptread (gdb_ps_prochandle_t ph, psaddr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_ptwrite (gdb_ps_prochandle_t ph, psaddr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_lgetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset)
ps_err_e ps_lsetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset)
ps_err_e ps_lgetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, gdb_prfpregset_t *fpregset)
ps_err_e ps_lsetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const gdb_prfpregset_t *fpregset)
pid_t ps_getpid (gdb_ps_prochandle_t ph)
void _initialize_proc_service (void)

Variables

initialize_file_ftype _initialize_proc_service

Typedef Documentation

Definition at line 47 of file proc-service.c.

typedef void* gdb_ps_read_buf_t

Definition at line 48 of file proc-service.c.

typedef size_t gdb_ps_size_t

Definition at line 50 of file proc-service.c.

typedef const void* gdb_ps_write_buf_t

Definition at line 49 of file proc-service.c.


Function Documentation

void _initialize_proc_service ( void  )

Definition at line 347 of file proc-service.c.

Definition at line 338 of file proc-service.c.

Definition at line 139 of file proc-service.c.

Definition at line 298 of file proc-service.c.

Definition at line 260 of file proc-service.c.

ps_err_e ps_lgetxregs ( gdb_ps_prochandle_t  ph,
lwpid_t  lwpid,
caddr_t  xregset 
)

Definition at line 161 of file proc-service.c.

ps_err_e ps_lgetxregsize ( gdb_ps_prochandle_t  ph,
lwpid_t  lwpid,
int xregsize 
)

Definition at line 151 of file proc-service.c.

Definition at line 318 of file proc-service.c.

Definition at line 279 of file proc-service.c.

ps_err_e ps_lsetxregs ( gdb_ps_prochandle_t  ph,
lwpid_t  lwpid,
caddr_t  xregset 
)

Definition at line 171 of file proc-service.c.

Definition at line 129 of file proc-service.c.

Definition at line 119 of file proc-service.c.

Definition at line 222 of file proc-service.c.

Definition at line 231 of file proc-service.c.

ps_err_e ps_pglobal_lookup ( gdb_ps_prochandle_t  ph,
const char *  obj,
const char *  name,
psaddr_t sym_addr 
)

Definition at line 194 of file proc-service.c.

void ps_plog ( const char *  fmt,
  ... 
)

Definition at line 180 of file proc-service.c.

Definition at line 110 of file proc-service.c.

Definition at line 241 of file proc-service.c.

Definition at line 250 of file proc-service.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines