32 #define QM_MAX_THREADS (20) 37 char more_display[256];
45 int parse_zbreak(
const char *in,
int *type,
unsigned char **addr,
int *len);
47 char* mem2hstr(
char *buf,
const unsigned char *mem,
int count);
48 int hstr2mem(
unsigned char *mem,
const char *buf,
int count);
49 void set_mem_err(
void);
50 unsigned char get_byte(
const unsigned char *ptr);
51 void set_byte(
unsigned char *ptr,
int val);
52 char* thread2vhstr(
char *buf,
int thread);
53 char* thread2fhstr(
char *buf,
int thread);
54 const char* fhstr2thread(
const char *buf,
int *thread);
55 const char* vhstr2thread(
const char *buf,
int *thread);
56 char* int2fhstr(
char *buf,
int val);
57 char* int2vhstr(
char *buf,
int vali);
58 const char* fhstr2int(
const char *buf,
int *ival);
59 const char* vhstr2int(
const char *buf,
int *ival);
60 int hstr2byte(
const char *buf,
int *bval);
61 int hstr2nibble(
const char *buf,
int *nibble);
64 int rtems_gdb_stub_thread_support_ok(
void);
65 int rtems_gdb_stub_get_current_thread(
void);
66 int rtems_gdb_stub_get_next_thread(
int);
67 int rtems_gdb_stub_get_offsets(
68 unsigned char **text_addr,
69 unsigned char **data_addr,
70 unsigned char **bss_addr
72 int rtems_gdb_stub_get_thread_regs(
74 unsigned int *registers
76 int rtems_gdb_stub_set_thread_regs(
78 unsigned int *registers
80 void rtems_gdb_process_query(
181 void mips_gdb_stub_install(
int enableThreads) ;
183 #define MEMOPT_READABLE 1 184 #define MEMOPT_WRITEABLE 2 187 #define NUM_MEMSEGS 10 190 int gdbstub_add_memsegment(
unsigned,
unsigned,
int);