From 03ce472e630372857233421bc0c432b89944a237 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Tue, 6 Jun 2023 09:35:45 -0700 Subject: [PATCH] Debugger: 2.9.1.26: When adding symbols list the address first then the name for readability --- docs/Debugger_Changelog.txt | 1 + source/Debugger/Debug.cpp | 2 +- source/Debugger/Debugger_Symbols.cpp | 9 +++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/Debugger_Changelog.txt b/docs/Debugger_Changelog.txt index 4b85fdda..f1ed8663 100644 --- a/docs/Debugger_Changelog.txt +++ b/docs/Debugger_Changelog.txt @@ -1,4 +1,5 @@ /* +2.9.1.26 Fixed: When adding symbols list the address first then the name for readability 2.9.1.25 Fixed: R P ## wasn't setting P flag status register. 2.9.1.24 Fixed: Disassembly line when at PC for BW mode. GH #1231 2.9.1.23 Fixed: Show floating-point values in scientific notation. diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 1e7b2a05..15b7c843 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -53,7 +53,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #define MAKE_VERSION(a,b,c,d) ((a<<24) | (b<<16) | (c<<8) | (d)) // See /docs/Debugger_Changelog.txt for full details - const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,25); + const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,26); // Public _________________________________________________________________________________________ diff --git a/source/Debugger/Debugger_Symbols.cpp b/source/Debugger/Debugger_Symbols.cpp index 3a9dd583..eef15680 100644 --- a/source/Debugger/Debugger_Symbols.cpp +++ b/source/Debugger/Debugger_Symbols.cpp @@ -876,15 +876,16 @@ void SymbolUpdate ( SymbolTable_Index_e eSymbolTable, const char *pSymbolName, W #endif g_aSymbols[ eSymbolTable ][ nAddress ] = pSymbolName; + // 2.9.1.26: When adding symbols list the address first then the name for readability // Tell user symbol was added ConsolePrintFormat( - /*CHC_DEFAULT*/ " Added symbol: " - CHC_SYMBOL "%s" - CHC_DEFAULT " " + /*CHC_DEFAULT*/ " Added: " CHC_ARG_SEP "$" CHC_ADDRESS "%04X" - , pSymbolName + CHC_DEFAULT " " + CHC_SYMBOL "%s" , nAddress + , pSymbolName ); } }