GDB (API)
Classes | Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/sol-thread.c File Reference
#include "defs.h"
#include <thread.h>
#include <proc_service.h>
#include <thread_db.h>
#include "gdbthread.h"
#include "target.h"
#include "inferior.h"
#include <fcntl.h>
#include "gdb_stat.h"
#include <dlfcn.h>
#include "gdbcmd.h"
#include "gdbcore.h"
#include "regcache.h"
#include "solib.h"
#include "symfile.h"
#include "observer.h"
#include "gdb_string.h"
#include "procfs.h"
#include "gregset.h"

Go to the source code of this file.

Classes

struct  ps_prochandle

Defines

#define resolve(X)

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
typedef psaddr_t gdb_ps_addr_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_pglobal_lookup (gdb_ps_prochandle_t ph, const char *ld_object_name, const char *ld_symbol_name, gdb_ps_addr_t *ld_symbol_addr)
ps_err_e ps_pdread (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_pdwrite (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_ptread (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size)
ps_err_e ps_ptwrite (gdb_ps_prochandle_t ph, gdb_ps_addr_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)
void ps_plog (const char *fmt,...)
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)
ps_err_e ps_lgetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prfpregset_t *fpregset)
ps_err_e ps_lsetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const prfpregset_t *fpregset)
void _initialize_sol_thread (void)

Variables

struct target_ops sol_thread_ops

Define Documentation

#define resolve (   X)
Value:
if (!(p_##X = dlsym (dlhandle, #X))) \
    goto die;

Typedef Documentation

Definition at line 715 of file sol-thread.c.

Definition at line 711 of file sol-thread.c.

typedef void* gdb_ps_read_buf_t

Definition at line 712 of file sol-thread.c.

typedef size_t gdb_ps_size_t

Definition at line 714 of file sol-thread.c.

typedef const void* gdb_ps_write_buf_t

Definition at line 713 of file sol-thread.c.


Function Documentation

void _initialize_sol_thread ( void  )

Definition at line 1233 of file sol-thread.c.

Definition at line 750 of file sol-thread.c.

ps_err_e ps_lgetfpregs ( gdb_ps_prochandle_t  ph,
lwpid_t  lwpid,
prfpregset_t fpregset 
)

Definition at line 927 of file sol-thread.c.

Definition at line 848 of file sol-thread.c.

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

Definition at line 911 of file sol-thread.c.

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

Definition at line 903 of file sol-thread.c.

Definition at line 949 of file sol-thread.c.

Definition at line 869 of file sol-thread.c.

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

Definition at line 919 of file sol-thread.c.

Definition at line 742 of file sol-thread.c.

Definition at line 734 of file sol-thread.c.

Definition at line 812 of file sol-thread.c.

Definition at line 821 of file sol-thread.c.

ps_err_e ps_pglobal_lookup ( gdb_ps_prochandle_t  ph,
const char *  ld_object_name,
const char *  ld_symbol_name,
gdb_ps_addr_t ld_symbol_addr 
)

Definition at line 758 of file sol-thread.c.

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

Definition at line 891 of file sol-thread.c.

Definition at line 726 of file sol-thread.c.

Definition at line 830 of file sol-thread.c.

Definition at line 839 of file sol-thread.c.


Variable Documentation

Definition at line 70 of file sol-thread.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines