annotate gdb_remote.h @ 1170:9170fc4d9835

Don't adjust cycles every frame. Only when we start getting close to UINT_MAX. Don't adjust all the way down to zero when we do adjust. Shouldn't fix anything, but may make debugging current issues easier.
author Michael Pavone <pavone@retrodev.com>
date Sun, 15 Jan 2017 22:54:01 -0800
parents 22e87b739ad6
children 85a90964b557
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_
1103
22e87b739ad6 WIP split of ROM loading/argument parsing from Genesis emulation code. Compiles and doesn't crash, but nothing works. Still a few too many globals as well.
Michael Pavone <pavone@retrodev.com>
parents: 528
diff changeset
3 #include "genesis.h"
528
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_