debugger fixes (etillite, sf bug #1707206)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2853
This commit is contained in:
parent
e2cc1b1a22
commit
c13c209d3e
2 changed files with 6 additions and 5 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: debug.cpp,v 1.85 2007-02-25 18:38:00 c2woody Exp $ */
|
||||
/* $Id: debug.cpp,v 1.86 2007-05-09 14:35:51 c2woody Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
#if C_DEBUG
|
||||
|
@ -755,7 +755,7 @@ static void DrawRegisters(void) {
|
|||
}
|
||||
|
||||
wattrset(dbg.win_reg,0);
|
||||
mvwprintw(dbg.win_reg,3,60,"%d ",cycle_count);
|
||||
mvwprintw(dbg.win_reg,3,60,"%u ",cycle_count);
|
||||
wrefresh(dbg.win_reg);
|
||||
};
|
||||
|
||||
|
@ -805,7 +805,7 @@ static void DrawCode(void)
|
|||
line20[20 - drawsize*2] = ' ';
|
||||
} else waddstr(dbg.win_code,line20);
|
||||
|
||||
char* res = 0;
|
||||
char* res = "";
|
||||
if (showExtend) res = AnalyzeInstruction(dline, saveSel);
|
||||
// Spacepad it up to 28 characters
|
||||
size_t dline_len = strlen(dline);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: debug_gui.cpp,v 1.31 2007-01-08 19:45:39 qbix79 Exp $ */
|
||||
/* $Id: debug_gui.cpp,v 1.32 2007-05-09 14:35:51 c2woody Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
|
||||
|
@ -106,7 +106,7 @@ void LOG::operator() (char const* format, ...){
|
|||
|
||||
if (d_type>=LOG_MAX) return;
|
||||
if ((d_severity!=LOG_ERROR) && (!loggrp[d_type].enabled)) return;
|
||||
DEBUG_ShowMsg("%10d: %s:%s\n",cycle_count,loggrp[d_type].front,buf);
|
||||
DEBUG_ShowMsg("%10u: %s:%s\n",cycle_count,loggrp[d_type].front,buf);
|
||||
}
|
||||
|
||||
|
||||
|
@ -250,6 +250,7 @@ void LOG_StartUp(void) {
|
|||
lowcase(buf);
|
||||
sect->Add_bool(buf,true);
|
||||
}
|
||||
MSG_Add("LOG_CONFIGFILE_HELP","Logging related options for the debugger.\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue