Debugger: Separate disassembler functions from display (PR #933)

Makes it easier to use them in different environments.
This commit is contained in:
Andrea
2021-03-17 20:32:19 +00:00
committed by GitHub
parent 3f75012c0e
commit c7f515015b
11 changed files with 779 additions and 760 deletions
+1 -9
View File
@@ -5,6 +5,7 @@
#include "Debugger_Types.h"
#include "Debugger_DisassemblerData.h"
#include "Debugger_Disassembler.h"
#include "Debugger_Range.h"
#include "Debugger_Parser.h"
#include "Debugger_Console.h"
@@ -145,15 +146,6 @@
// Source Level Debugging
int FindSourceLine( WORD nAddress );
const char* FormatAddress( WORD nAddress, int nBytes );
// Symbol Table / Memory
bool FindAddressFromSymbol( const char* pSymbol, WORD * pAddress_ = NULL, int * iTable_ = NULL );
WORD GetAddressFromSymbol( const char* symbol); // HACK: returns 0 if symbol not found
void SymbolUpdate( SymbolTable_Index_e eSymbolTable, const char *pSymbolName, WORD nAddrss, bool bRemoveSymbol, bool bUpdateSymbol );
const char* FindSymbolFromAddress( WORD nAdress, int * iTable_ = NULL );
const char* GetSymbol( WORD nAddress, int nBytes);
// Memory
size_t Util_GetTextScreen( char* &pText_ );