2.7.0.9 Fixed: Bookmarks weren't initialized to zero.

This commit is contained in:
mpohoreski 2011-02-17 15:32:53 +00:00
parent a5f6f36605
commit 0fecb02bbc
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
/*
.9 Fixed: Bookmarks weren't initialized to zero.
.8 Added: New command PWD to display the current debugger directory.
This is the directory used for scripts, loading/saving memory, and trace files.
Currently the debugger uses the same directory that the last disk image was loaded from.

View File

@ -36,7 +36,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,7,0,8);
const int DEBUGGER_VERSION = MAKE_VERSION(2,7,0,9);
// Public _________________________________________________________________________________________
@ -46,7 +46,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// Bookmarks __________________________________________________________________
// vector<int> g_aBookmarks;
int g_nBookmarks;
int g_nBookmarks = 0;
Bookmark_t g_aBookmarks[ MAX_BOOKMARKS ];
// Breakpoints ________________________________________________________________
@ -461,7 +461,7 @@ void _Bookmark_Reset()
//===========================================================================
int _Bookmark_Size()
{
int g_nBookmarks = 0;
g_nBookmarks = 0;
int iBookmark;
for (iBookmark = 0; iBookmark < MAX_BOOKMARKS; iBookmark++ )