annotate gdb_remote.h @ 735:539d12fa6a4d

Add a define in both the source and Makefile for enabling logging of z80 instruction address/cycle counts. Fix Z80 in/out instructions to eliminate assumptions about which registers are stored in native regs. Fix read_16 to not corrupt the low byte when the read has to call into a C function.
author Michael Pavone <pavone@retrodev.com>
date Mon, 25 May 2015 18:56:22 -0700
parents aae9e738c6a4
children 22e87b739ad6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
528
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #ifndef GDB_REMOTE_H_
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
2 #define GDB_REMOTE_H_
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
3 #include "blastem.h"
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
4
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
5 void gdb_remote_init(void);
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
6 m68k_context * gdb_debug_enter(m68k_context * context, uint32_t pc);
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
7
aae9e738c6a4 Add file that was accidentally omitted from a previous commit
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
8 #endif //GDB_REMOTE_H_