SMB - attribute offset fixed, filetimes all fully working
[libogc.git] / libdb / debug_supp.h
blob1264a763628245285b16873d052d0162796ca784
1 #ifndef __DEBUG_SUPP_H__
2 #define __DEBUG_SUPP_H__
4 #include <gctypes.h>
6 #define QM_MAXTHREADS (20)
8 struct gdbstub_threadinfo {
9 char display[256];
10 char more_display[256];
11 char name[256];
14 s32 gdbstub_getcurrentthread();
15 s32 hstr2nibble(const char *buf,s32 *nibble);
16 char* int2vhstr(char *buf,s32 val);
17 char* mem2hstr(char *buf,const char *mem,s32 count);
18 char* thread2vhstr(char *buf,s32 thread);
19 const char* vhstr2thread(const char *buf,s32 *thread);
20 lwp_cntrl* gdbstub_indextoid(s32 thread);
21 s32 gdbstub_getoffsets(char **textaddr,char **dataaddr,char **bssaddr);
22 s32 parsezbreak(const char *in,int *type,char **addr,int *len);
23 s32 gdbstub_getthreadinfo(s32 thread,struct gdbstub_threadinfo *info);
24 s32 parseqp(const char *in,s32 *mask,s32 *thread);
25 void packqq(char *out,s32 mask,s32 thread,struct gdbstub_threadinfo *info);
26 char* reserve_qmheader(char *out);
27 s32 parseql(const char *in,s32 *first,s32 *max_cnt,s32 *athread);
28 s32 gdbstub_getnextthread(s32 athread);
29 char* packqmthread(char *out,s32 thread);
30 void packqmheader(char *out,s32 count,s32 done,s32 athread);
32 #endif