- BX_GDBSTUB and BX_SUPPORT_X86_64 are always defined in config.h

This commit is contained in:
Volker Ruppert 2005-03-16 16:36:31 +00:00
parent 844e928e7f
commit 4ee7865930
4 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: bochs.h,v 1.153 2005-02-01 19:16:17 vruppert Exp $
// $Id: bochs.h,v 1.154 2005-03-16 16:36:31 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -455,7 +455,7 @@ typedef struct {
#if BX_MAGIC_BREAKPOINT
bx_bool magic_break_enabled;
#endif /* BX_MAGIC_BREAKPOINT */
#ifdef BX_GDBSTUB
#if BX_GDBSTUB
bx_bool gdbstub_enabled;
#endif
#if BX_SUPPORT_APIC

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: config.cc,v 1.32 2005-03-08 21:37:00 vruppert Exp $
// $Id: config.cc,v 1.33 2005-03-16 16:36:31 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -3124,7 +3124,7 @@ parse_line_formatted(char *context, int num_params, char *params[])
}
}
else if (!strcmp(params[0], "gdbstub")) {
#ifdef BX_GDBSTUB
#if BX_GDBSTUB
if (num_params < 2) {
PARSE_ERR(("%s: gdbstub directive: wrong # args.", context));
}

View File

@ -198,7 +198,7 @@ Bit64u read_little_endian_hex(char *&buf)
static int continue_thread = -1;
static int other_thread = 0;
#ifndef BX_SUPPORT_X86_64
#if !BX_SUPPORT_X86_64
#define NUMREGS (16)
#define NUMREGSBYTES (NUMREGS * 4)
static int registers[NUMREGS];
@ -550,7 +550,7 @@ static void debug_loop(void)
value = read_little_endian_hex(ebuf);
BX_INFO (("reg %d set to %llx", reg, value));
#ifndef BX_SUPPORT_X86_64
#if !BX_SUPPORT_X86_64
switch (reg)
{
case 1:
@ -671,7 +671,7 @@ static void debug_loop(void)
}
case 'g':
#ifndef BX_SUPPORT_X86_64
#if !BX_SUPPORT_X86_64
registers[0] = EAX;
registers[1] = ECX;
registers[2] = EDX;

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: main.cc,v 1.285 2005-01-30 08:54:49 vruppert Exp $
// $Id: main.cc,v 1.286 2005-03-16 16:36:31 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -962,7 +962,7 @@ bx_init_bx_dbg (void)
#if BX_MAGIC_BREAKPOINT
bx_dbg.magic_break_enabled = 0;
#endif
#ifdef BX_GDBSTUB
#if BX_GDBSTUB
bx_dbg.gdbstub_enabled = 0;
#endif