mirror of https://github.com/mgba-emu/mgba.git
Debugger: Export debugger interface
This commit is contained in:
parent
201da5adac
commit
bd30fbeb81
|
@ -19,8 +19,7 @@ CXX_GUARD_START
|
|||
#endif
|
||||
#include <mgba/core/interface.h>
|
||||
#ifdef USE_DEBUGGERS
|
||||
// TODO: Fix layering violation
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
#endif
|
||||
|
||||
enum mPlatform {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2013-2014 Jeffrey Pfau
|
||||
/* Copyright (c) 2013-2017 Jeffrey Pfau
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
@ -12,7 +12,6 @@ CXX_GUARD_START
|
|||
|
||||
#include <mgba/core/cpu.h>
|
||||
#include <mgba/core/log.h>
|
||||
#include <mgba-util/vector.h>
|
||||
|
||||
mLOG_DECLARE_CATEGORY(DEBUGGER);
|
||||
|
||||
|
@ -53,14 +52,6 @@ enum mDebuggerEntryReason {
|
|||
DEBUGGER_ENTER_ILLEGAL_OP
|
||||
};
|
||||
|
||||
struct mDebugWatchpoint {
|
||||
uint32_t address;
|
||||
enum mWatchpointType type;
|
||||
};
|
||||
|
||||
extern const char* ERROR_MISSING_ARGS;
|
||||
extern const char* ERROR_OVERFLOW;
|
||||
|
||||
struct mDebuggerEntryInfo {
|
||||
uint32_t address;
|
||||
union {
|
|
@ -12,7 +12,7 @@ CXX_GUARD_START
|
|||
|
||||
#include <mgba-util/table.h>
|
||||
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
struct mArguments {
|
||||
char* fname;
|
||||
|
|
|
@ -10,9 +10,10 @@
|
|||
|
||||
CXX_GUARD_START
|
||||
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
#include <mgba/internal/arm/arm.h>
|
||||
#include <mgba-util/vector.h>
|
||||
|
||||
struct ARMDebugBreakpoint {
|
||||
uint32_t address;
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
|
||||
CXX_GUARD_START
|
||||
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
extern const char* ERROR_MISSING_ARGS;
|
||||
extern const char* ERROR_OVERFLOW;
|
||||
|
||||
struct CLIDebugger;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
CXX_GUARD_START
|
||||
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
#include <mgba-util/socket.h>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
CXX_GUARD_START
|
||||
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
enum LexState {
|
||||
LEX_ERROR = -1,
|
||||
|
|
|
@ -10,9 +10,10 @@
|
|||
|
||||
CXX_GUARD_START
|
||||
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
#include <mgba/internal/lr35902/lr35902.h>
|
||||
#include <mgba-util/vector.h>
|
||||
|
||||
|
||||
struct LR35902DebugBreakpoint {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
|
||||
#include <mgba/core/core.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <mgba/core/input.h>
|
||||
#include <mgba/core/serialize.h>
|
||||
#include <mgba/core/thread.h>
|
||||
#include <mgba/internal/debugger/debugger.h>
|
||||
#include <mgba/debugger/debugger.h>
|
||||
#include <mgba/internal/gba/input.h>
|
||||
#include <mgba-util/configuration.h>
|
||||
#include <mgba-util/formatting.h>
|
||||
|
|
Loading…
Reference in New Issue