40 tlctxt->
region = tlctxtf->bsymbol->region;
41 else if (tlctxtf->alt_bsymbol)
42 tlctxt->
region = tlctxtf->alt_bsymbol->region;
55 else if (tlctxtf->alt_bsymbol)
73 if (tlctxtf->bsymbol) {
78 debugfile = srd->debugfile;
83 else if (tlctxtf->alt_bsymbol) {
88 debugfile = srd->debugfile;
94 ipval = (
ADDR)(uintptr_t) \
95 g_hash_table_lookup(tlctxtf->registers,
105 "could not find debugfile for frame %d!\n",tlctxtf->frame);
147 regno,tlctxt->
thread->
tid,strerror(errno));
157 " cannot read %"PRIiREG" in frame %d\n",
172 if (g_hash_table_lookup_extended(tlctxtf->
registers,
173 (gpointer)(uintptr_t)regno,NULL,&v) == TRUE) {
175 *regval = (
REGVAL)(uintptr_t)v;
179 errno = EADDRNOTAVAIL;
195 regval,regno,tlctxt->
thread->
tid,strerror(errno));
234 (gpointer)(uintptr_t)regno,(gpointer)(uintptr_t)regval);
258 if (rc != (
unsigned char *)pval) {
260 real_addr,strerror(errno));
276 (
unsigned char *)&pval);
279 pval,real_addr,strerror(errno));
#define vwarnopt(level, area, flags, format,...)
int __target_location_ops_readword(struct location_ctxt *lctxt, ADDR real_addr, ADDR *pval)
int __target_location_ops_relocate(struct location_ctxt *lctxt, ADDR obj_addr, ADDR *real_addr)
struct array_list * frames
ADDR memregion_unrelocate(struct memregion *region, ADDR real_addr, struct memrange **range_saveptr)
#define SYMBOL_RX_ROOT(sym, rvar)
int __target_location_ops_setcurrentframe(struct location_ctxt *lctxt, int frame)
struct memregion * region
int __target_location_ops_writereg(struct location_ctxt *lctxt, REG regno, REGVAL regval)
struct symbol * symbol_find_root(struct symbol *symbol)
int __target_location_ops_writeword(struct location_ctxt *lctxt, ADDR real_addr, ADDR pval)
int target_cregno(struct target *target, common_reg_t creg, REG *reg)
int __target_location_ops_getaddrsize(struct location_ctxt *lctxt)
struct debugfile * target_lookup_debugfile(struct target *target, ADDR addr)
#define verror(format,...)
unsigned char * target_read_addr(struct target *target, ADDR addr, unsigned long length, unsigned char *buf)
REGVAL target_read_reg(struct target *target, tid_t tid, REG reg)
struct target_location_ctxt_frame * target_location_ctxt_get_frame(struct target_location_ctxt *tlctxt, int frame)
int __target_location_ops_unrelocate(struct location_ctxt *lctxt, ADDR real_addr, ADDR *obj_addr)
int __target_location_ops_readreg(struct location_ctxt *lctxt, REG regno, REGVAL *regval)
int(* setcurrentframe)(struct location_ctxt *lctxt, int frame)
struct target_location_ctxt_frame * target_location_ctxt_current_frame(struct target_location_ctxt *tlctxt)
struct symbol * __target_location_ops_getsymbol(struct location_ctxt *lctxt)
int __target_location_ops_cachereg(struct location_ctxt *lctxt, REG regno, REGVAL regval)
struct location_ops target_location_ops
int __target_location_ops_getregno(struct location_ctxt *lctxt, common_reg_t creg, REG *o_reg)
struct symbol * bsymbol_get_symbol(struct bsymbol *bsymbol)
int __target_location_ops_readipreg(struct location_ctxt *lctxt, REGVAL *regval)
ADDR memregion_relocate(struct memregion *region, ADDR obj_addr, struct memrange **range_saveptr)
struct symbol_root * root
struct target_thread * thread
unsigned long target_write_addr(struct target *target, ADDR addr, unsigned long length, unsigned char *buf)
int target_write_reg(struct target *target, tid_t tid, REG reg, REGVAL value)
struct location_ctxt * lctxt
struct debugfile * __target_location_ops_getdebugfile(struct location_ctxt *lctxt)