Breakpoint hits reaching all the way to UI.

Nasty json only hackery right now, but fixable to support other protocols.
This commit is contained in:
Ben Vanik
2013-12-23 14:01:13 -08:00
parent a0256fac45
commit 475ddc1fcf
19 changed files with 284 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ typedef union {
#pragma pack(push, 4)
typedef struct XECACHEALIGN64 PPCContext_s {
// Most frequently used registers first.
uint64_t r[32]; // General purpose registers
uint64_t r[32]; // General purpose registers
uint64_t lr; // Link register
uint64_t ctr; // Count register
@@ -190,6 +190,7 @@ typedef struct XECACHEALIGN64 PPCContext_s {
uint8_t* membase;
runtime::Runtime* runtime;
runtime::ThreadState* thread_state;
uint32_t suspend_flag;
void SetRegFromString(const char* name, const char* value);
bool CompareRegWithString(const char* name, const char* value,