diff --git a/docs/Debugger_Changelog.txt b/docs/Debugger_Changelog.txt index b2ca5a72..e7debc99 100644 --- a/docs/Debugger_Changelog.txt +++ b/docs/Debugger_Changelog.txt @@ -1,5 +1,12 @@ /* +2.9.1.3 Added: DB command now optionally supports = + DB HGR = 2000:3FFF +2.9.1.2 Fixed: Off by one end address when deleting DisasmData_t +2.9.1.1 Added: X command now supports a range and will chop off the appropiate data sections. + DB 2000:2005 + X 2002:2003 +Released post 1.30.7.0 2.9.1.0 Added: Bookmarks now have their own indicator (a number with a box around it) and replace the ":" seperator. Updated Debug_Font.bmp diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 1a08edca..ebdcc5a9 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #define ALLOW_INPUT_LOWERCASE 1 // See /docs/Debugger_Changelog.txt for full details - const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,0); + const int DEBUGGER_VERSION = MAKE_VERSION(2,9,1,3); // Public _________________________________________________________________________________________ diff --git a/source/Debugger/Debugger_DisassemblerData.cpp b/source/Debugger/Debugger_DisassemblerData.cpp index 98e25f8b..011530ec 100644 --- a/source/Debugger/Debugger_DisassemblerData.cpp +++ b/source/Debugger/Debugger_DisassemblerData.cpp @@ -93,8 +93,16 @@ WORD _GetDataRange (int nArgs, int iArg, DisasmData_t& tData_) } else { - if( nArgs > 1 ) - nAddress = g_aArgs[ 2 ].nValue; + if (nArgs > 1) + { + // 2.9.1.1 Add: Support for equal sign, also make it optional for command DB + // DB FOO 300 + // DB FOO = 300 + if (g_aArgs[2].bType == TOKEN_EQUAL) + nAddress = g_aArgs[ 3 ].nValue; + else + nAddress = g_aArgs[ 2 ].nValue; + } else nAddress = g_aArgs[ 1 ].nValue; }