mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-26 01:31:33 +11:00
30 lines
992 B
C
30 lines
992 B
C
/* 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
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
#ifndef DEBUGGER_SYMBOLS_H
|
|
#define DEBUGGER_SYMBOLS_H
|
|
|
|
#include <mgba-util/common.h>
|
|
|
|
CXX_GUARD_START
|
|
|
|
struct mDebuggerSymbols;
|
|
|
|
struct mDebuggerSymbols* mDebuggerSymbolTableCreate(void);
|
|
void mDebuggerSymbolTableDestroy(struct mDebuggerSymbols*);
|
|
|
|
bool mDebuggerSymbolLookup(const struct mDebuggerSymbols*, const char* name, int32_t* value, int* segment);
|
|
const char* mDebuggerSymbolReverseLookup(const struct mDebuggerSymbols*, int32_t value, int segment);
|
|
|
|
void mDebuggerSymbolAdd(struct mDebuggerSymbols*, const char* name, int32_t value, int segment);
|
|
void mDebuggerSymbolRemove(struct mDebuggerSymbols*, const char* name);
|
|
|
|
struct VFile;
|
|
void mDebuggerLoadARMIPSSymbols(struct mDebuggerSymbols*, struct VFile* vf);
|
|
|
|
CXX_GUARD_END
|
|
|
|
#endif
|