Two small Bochs debugger changes.

- Fixed a warning in the enhanced debugger core.
- Update generated file parser.c.
This commit is contained in:
Volker Ruppert 2019-12-14 12:55:08 +00:00
parent f1cd051748
commit a01a0262be
3 changed files with 6 additions and 6 deletions

View File

@ -3582,7 +3582,7 @@ yyreduce:
case 211:
#line 1089 "parser.y" /* yacc.c:1646 */
{
dbg_printf("trace-mem on - print all memory accesses occured during instruction execution\n");
dbg_printf("trace-mem on - print all memory accesses occurred during instruction execution\n");
dbg_printf("trace-mem off - disable memory accesses tracing\n");
free((yyvsp[-2].sval));free((yyvsp[-1].sval));
}

View File

@ -8,7 +8,7 @@
//
// Modified by Bruce Ewing
//
// Copyright (C) 2008-2017 The Bochs Project
// Copyright (C) 2008-2019 The Bochs Project
#include "config.h"
@ -222,8 +222,8 @@ static const char *BrkName[5] = {
"Read Watchpoint",
};
bx_address BrkLAddr[BX_DBG_MAX_LIN_BPOINTS];
unsigned BrkIdx[BX_DBG_MAX_LIN_BPOINTS];
bx_address BrkLAddr[BX_DBG_MAX_LIN_BPOINTS+1];
unsigned BrkIdx[BX_DBG_MAX_LIN_BPOINTS+1];
int BreakCount = 0;
// Breakpoint Dump Window stuff

View File

@ -8,7 +8,7 @@
//
// Modified by Bruce Ewing
//
// Copyright (C) 2008-2014 The Bochs Project
// Copyright (C) 2008-2019 The Bochs Project
#ifndef BX_ENH_DBG_DEF_H
@ -394,7 +394,7 @@ extern Bit8u RegColor[TOT_REG_NUM]; // specifies foreground and background co
extern int RitemToRnum[TOT_REG_NUM]; // mapping from Reg List Item# to register number
// do the linear breakpoint list as 2 arrays, rather than a structure -- much easier to search!
extern bx_address BrkLAddr[BX_DBG_MAX_LIN_BPOINTS];
extern bx_address BrkLAddr[BX_DBG_MAX_LIN_BPOINTS+1];
extern int BreakCount;
// Breakpoint Dump Window stuff