From c053578923c3367a442f2a850ccdd5380489c544 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Fri, 9 Oct 2009 10:00:15 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31468 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/debug.h | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'libpcsxcore/debug.h') 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 -- cgit v1.2.3