diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-10-09 10:00:15 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-10-09 10:00:15 +0000 |
| commit | c053578923c3367a442f2a850ccdd5380489c544 (patch) | |
| tree | d3088cce35230b8b8fa73faed5626e5bafac95a6 /libpcsxcore/debug.h | |
| parent | 9c12bf58c89d134f30c5ff07b3b2606999d335df (diff) | |
| download | pcsxr-c053578923c3367a442f2a850ccdd5380489c544.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31468 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/debug.h')
| -rw-r--r-- | libpcsxcore/debug.h | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/libpcsxcore/debug.h b/libpcsxcore/debug.h index d61f2ba0..84aa8492 100644 --- a/libpcsxcore/debug.h +++ b/libpcsxcore/debug.h @@ -18,20 +18,35 @@ * 51 Franklin Steet, Fifth Floor, Boston, MA 02111-1307 USA. * ***************************************************************************/ -/* -* Specficies which logs should be activated. -* Ryan TODO: These should ALL be definable with configure flags. -*/ - #ifndef __DEBUG_H__ #define __DEBUG_H__ +enum breakpoint_types { + E, R1, R2, R4, W1, W2, W4 +}; + +void StartDebugger(); +void StopDebugger(); + +void DebugVSync(); +void ProcessDebug(); + +void DebugCheckBP(u32 address, enum breakpoint_types type); + +void PauseDebugger(); +void ResumeDebugger(); + extern char *disRNameCP0[]; char* disR3000AF(u32 code, u32 pc); FILE *emuLog; +/* + * Specficies which logs should be activated. + * Ryan TODO: These should ALL be definable with configure flags. + */ + //#define GTE_DUMP #ifdef GTE_DUMP |
