drc: tune invalidation
[picodrive.git] / cpu / debug.h
CommitLineData
5686d931 1
2#ifdef PDB
3
4enum {
5 PDBCT_SH2,
6};
7
8void pdb_register_cpu(void *context, int type, const char *name);
9void pdb_cleanup(void);
10void pdb_step(void *context, unsigned int pc);
11void pdb_command(const char *cmd);
12
13#else
14
15#define pdb_register_cpu(a,b,c)
16#define pdb_cleanup()
17#define pdb_step(a,b)
18#define pdb_command(a)
19
20#endif
21
22
23#if defined(PDB) && defined(PDB_NET)
24
25int pdb_net_connect(const char *host, const char *port);
26
27#else
28
e743be20 29static inline int pdb_net_connect(const char *host, const char *port) {return 0;}
5686d931 30
31#endif