summaryrefslogtreecommitdiff
path: root/libpcsxcore/debug.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-10-09 10:00:15 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-10-09 10:00:15 +0000
commitc053578923c3367a442f2a850ccdd5380489c544 (patch)
treed3088cce35230b8b8fa73faed5626e5bafac95a6 /libpcsxcore/debug.h
parent9c12bf58c89d134f30c5ff07b3b2606999d335df (diff)
downloadpcsxr-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.h25
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