33 #define QM_MAX_THREADS (20) 38 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(
87 #if defined (__mc68000__) 90 #define NUMREGBYTES 180 91 enum regnames {D0,D1,D2,D3,D4,D5,D6,D7,
92 A0,A1,A2,A3,A4,A5,A6,A7,
94 FP0,FP1,FP2,FP3,FP4,FP5,FP6,FP7,
95 FPCONTROL,FPSTATUS,FPIADDR
97 #elif defined (__mips__) 185 void mips_gdb_stub_install(
int enableThreads) ;
188 #define MEMOPT_READABLE 1 189 #define MEMOPT_WRITEABLE 2 191 #define NUM_MEMSEGS 10 193 int gdbstub_add_memsegment(
unsigned,
unsigned,
int);