quakeforge/ruamoko/qwaq/qwaq-debug.h
Bill Currie 32d77eabac [qwaq] Hook up the debugger modules
Now to write all the high level stuff. Wheeeee
2020-03-24 20:15:35 +09:00

31 lines
492 B
C

#ifndef __qwaq_debug_h
#define __qwaq_debug_h
#include "event.h"
typedef enum {
qe_debug_event = 0x0100,
} qwaq_debug_messages;
#ifdef __QFCC__
//FIXME add unsigned to qfcc
#ifndef unsigned
#define unsigned int
#define umax 0x7fffffff
#endif
#else//GCC
#endif
typedef struct qdb_state_s {
unsigned staddr;
unsigned func;
unsigned file;
unsigned line;
} qdb_state_t;
void QWAQ_Debug_Init (progs_t *pr);
void QWAQ_DebugTarget_Init (progs_t *pr);
#endif//__qwaq_debug_h