RetroArch
Functions | Variables
debug_supp.c File Reference
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <gccore.h>
#include "lwp_threads.h"
#include "debug_supp.h"
Include dependency graph for debug_supp.c:

Functions

s32 hstr2nibble (const char *buf, s32 *nibble)
 
s32 hstr2byte (const char *buf, s32 *bval)
 
const char * vhstr2int (const char *buf, s32 *ival)
 
const char * fhstr2int (const char *buf, s32 *ival)
 
char * int2fhstr (char *buf, s32 val)
 
char * int2vhstr (char *buf, s32 val)
 
char * mem2hstr (char *buf, const char *mem, s32 count)
 
char * thread2fhstr (char *buf, s32 thread)
 
char * thread2vhstr (char *buf, s32 thread)
 
const char * fhstr2thread (const char *buf, s32 *thread)
 
const char * vhstr2thread (const char *buf, s32 *thread)
 
s32 gdbstub_idtoindex (s32 objid)
 
lwp_cntrlgdbstub_indextoid (s32 thread)
 
s32 gdbstub_getcurrentthread ()
 
s32 gdbstub_getnextthread (s32 athread)
 
s32 gdbstub_getoffsets (char **textaddr, char **dataaddr, char **bssaddr)
 
s32 gdbstub_getthreadinfo (s32 thread, struct gdbstub_threadinfo *info)
 
s32 parsezbreak (const char *in, s32 *type, char **addr, u32 *len)
 
s32 parseqp (const char *in, s32 *mask, s32 *thread)
 
void packqq (char *out, s32 mask, s32 thread, struct gdbstub_threadinfo *info)
 
s32 parseql (const char *in, s32 *first, s32 *max_cnt, s32 *athread)
 
char * reserve_qmheader (char *out)
 
char * packqmthread (char *out, s32 thread)
 
void packqmheader (char *out, s32 count, s32 done, s32 athread)
 

Variables

lwp_objinfo _lwp_cond_objects
 
lwp_objinfo _lwp_thr_objects
 
lwp_objinfo _lwp_tqueue_objects
 
lwp_objinfo _lwp_mqbox_objects
 
lwp_objinfo _lwp_mutex_objects
 
lwp_objinfo _lwp_sema_objects
 
const u8 hexchars []
 
u8 __text_start []
 
u8 __data_start []
 
u8 __bss_start []
 
u8 __text_fstart []
 
u8 __data_fstart []
 
u8 __bss_fstart []
 

Function Documentation

◆ fhstr2int()

const char* fhstr2int ( const char *  buf,
s32 ival 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fhstr2thread()

const char* fhstr2thread ( const char *  buf,
s32 thread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdbstub_getcurrentthread()

s32 gdbstub_getcurrentthread ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdbstub_getnextthread()

s32 gdbstub_getnextthread ( s32  athread)
Here is the caller graph for this function:

◆ gdbstub_getoffsets()

s32 gdbstub_getoffsets ( char **  textaddr,
char **  dataaddr,
char **  bssaddr 
)

◆ gdbstub_getthreadinfo()

s32 gdbstub_getthreadinfo ( s32  thread,
struct gdbstub_threadinfo info 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gdbstub_idtoindex()

s32 gdbstub_idtoindex ( s32  objid)
Here is the caller graph for this function:

◆ gdbstub_indextoid()

lwp_cntrl* gdbstub_indextoid ( s32  thread)
Here is the caller graph for this function:

◆ hstr2byte()

s32 hstr2byte ( const char *  buf,
s32 bval 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hstr2nibble()

s32 hstr2nibble ( const char *  buf,
s32 nibble 
)
Here is the caller graph for this function:

◆ int2fhstr()

char* int2fhstr ( char *  buf,
s32  val 
)
Here is the caller graph for this function:

◆ int2vhstr()

char* int2vhstr ( char *  buf,
s32  val 
)

◆ mem2hstr()

char* mem2hstr ( char *  buf,
const char *  mem,
s32  count 
)
Here is the caller graph for this function:

◆ packqmheader()

void packqmheader ( char *  out,
s32  count,
s32  done,
s32  athread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ packqmthread()

char* packqmthread ( char *  out,
s32  thread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ packqq()

void packqq ( char *  out,
s32  mask,
s32  thread,
struct gdbstub_threadinfo info 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseql()

s32 parseql ( const char *  in,
s32 first,
s32 max_cnt,
s32 athread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parseqp()

s32 parseqp ( const char *  in,
s32 mask,
s32 thread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parsezbreak()

s32 parsezbreak ( const char *  in,
s32 type,
char **  addr,
u32 len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserve_qmheader()

char* reserve_qmheader ( char *  out)
Here is the caller graph for this function:

◆ thread2fhstr()

char* thread2fhstr ( char *  buf,
s32  thread 
)
Here is the caller graph for this function:

◆ thread2vhstr()

char* thread2vhstr ( char *  buf,
s32  thread 
)
Here is the caller graph for this function:

◆ vhstr2int()

const char* vhstr2int ( const char *  buf,
s32 ival 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vhstr2thread()

const char* vhstr2thread ( const char *  buf,
s32 thread 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __bss_fstart

u8 __bss_fstart[]

◆ __bss_start

u8 __bss_start[]

◆ __data_fstart

u8 __data_fstart[]

◆ __data_start

u8 __data_start[]

◆ __text_fstart

u8 __text_fstart[]

◆ __text_start

u8 __text_start[]

◆ _lwp_cond_objects

lwp_objinfo _lwp_cond_objects

◆ _lwp_mqbox_objects

lwp_objinfo _lwp_mqbox_objects

◆ _lwp_mutex_objects

lwp_objinfo _lwp_mutex_objects

◆ _lwp_sema_objects

lwp_objinfo _lwp_sema_objects

◆ _lwp_thr_objects

lwp_objinfo _lwp_thr_objects

◆ _lwp_tqueue_objects

lwp_objinfo _lwp_tqueue_objects

◆ hexchars

const u8 hexchars[]