picodrive/cpu/debug.h
notaz e9a11abb3c drop some unnecessary inlines
apparently somebody compiles with msvc?
2017-10-14 00:53:09 +03:00

31 lines
521 B
C

#ifdef PDB
enum {
PDBCT_SH2,
};
void pdb_register_cpu(void *context, int type, const char *name);
void pdb_cleanup(void);
void pdb_step(void *context, unsigned int pc);
void pdb_command(const char *cmd);
#else
#define pdb_register_cpu(a,b,c)
#define pdb_cleanup()
#define pdb_step(a,b)
#define pdb_command(a)
#endif
#if defined(PDB) && defined(PDB_NET)
int pdb_net_connect(const char *host, const char *port);
#else
static __inline int pdb_net_connect(const char *host, const char *port) {return 0;}
#endif