Debugger: 2.9.1.26: When adding symbols list the address first then the name for readability

This commit is contained in:
michaelangel007 2023-06-06 09:35:45 -07:00
parent 1d4d1291f3
commit 03ce472e63
3 changed files with 7 additions and 5 deletions

View File

@ -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.

View File

@ -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 _________________________________________________________________________________________

View File

@ -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
);
}
}