move debug.h from bochs.h and include it only where required

This commit is contained in:
Stanislav Shwartsman 2021-01-31 15:22:58 +00:00
parent d103603452
commit 1765a06d01
10 changed files with 10 additions and 1 deletions

View File

@ -102,7 +102,6 @@ extern "C" {
#endif
#include "osdep.h" /* platform dependent includes and defines */
#include "bx_debug/debug.h"
#include "gui/paramtree.h"
// BX_SHARE_PATH should be defined by the makefile. If not, give it

View File

@ -20,6 +20,7 @@
/////////////////////////////////////////////////////////////////////////
#include "bochs.h"
#include "debug.h"
#if BX_DEBUGGER

View File

@ -24,6 +24,8 @@
#include <setjmp.h>
#include "bx_debug/debug.h"
#include "decoder/decoder.h"
#if defined(NEED_CPU_REG_SHORTCUTS)

View File

@ -18,6 +18,7 @@
#include "bochs.h"
#include "siminterface.h"
#include "bx_debug/debug.h"
#include "memory/memory-bochs.h"
#include "pc_system.h"
#include "cpu/cpu.h"

View File

@ -11,6 +11,7 @@
// Copyright (C) 2008-2021 The Bochs Project
#include "bochs.h"
#include "bx_debug/debug.h"
#include "siminterface.h"
#include "enh_dbg.h"

View File

@ -24,6 +24,7 @@
// Basically, the siminterface is visible from both the simulator and
// the configuration user interface, and allows them to talk to each other.
#include "bx_debug/debug.h"
#include "param_names.h"
#include "iodev.h"
#include "virt_timer.h"

View File

@ -49,6 +49,7 @@ extern "C" {
#endif
#include "osdep.h"
#include "bx_debug/debug.h"
#include "param_names.h"
#include "textconfig.h"
#include "logio.h"

View File

@ -11,6 +11,7 @@
// Copyright (C) 2008-2021 The Bochs Project
#include "bochs.h"
#include "bx_debug/debug.h"
#include "siminterface.h"
#include "win32dialog.h"
#include "enh_dbg.h"

View File

@ -20,6 +20,7 @@
#include "win32dialog.h"
#include "bochs.h"
#include "bx_debug/debug.h"
#include "param_names.h"
#include "gui.h"
#include "win32res.h"

View File

@ -29,6 +29,7 @@
#include "plugin.h"
#include "param_names.h"
#include "pc_system.h"
#include "bx_debug/debug.h"
#include "memory/memory-bochs.h"
#include "gui/siminterface.h"
#include "gui/gui.h"