Bochs/bochs/debug
Bryce Denney 87f1f3a2e0 Apply patch.safe-fullscreen. Comments from the patch follow:
This fixes bug #614724: SDL can get stuck in full-screen mode, and provides
a framework for fixing the problem on other full-screen display libraries
such as term, svga, etc.

- add virtual method bx_gui::set_display_mode(mode) which can be overridden
  by each display library class, if appropriate.  This method is primarily
  used when you run Bochs full screen, to tell the gui to switch from full
  screen back to a mode where you can use the text console.
- There are two display modes: config and simulation.  The mode is changed to
  config mode during logfunctions::ask, during the runtime configuration menu,
  and before displaying a debugger prompt.  It is changed back to simulation
  mode whenever instructions are running.
- Instead of being called directly through the global bx_gui pointer, the
  bx_gui_c::set_display_mode() method is almost always accessed through
  siminterface, like this:
    SIM->set_display_mode (DISP_MODE_CONFIG);
    SIM->set_display_mode (DISP_MODE_SIM);
  Of course siminterface just passes the call on to bx_gui::set_display_mode().
  I added it to siminterface so that the config interfaces could call it.
  (They don't #include bochs.h so they can't access bx_gui.)

Modified Files:
  logio.cc main.cc debug/dbg_main.cc gui/gui.h gui/sdl.cc
  gui/siminterface.cc gui/siminterface.h
2002-12-06 19:34:32 +00:00
..
crc.cc - apply patch.ifdef-disabled-options. Comments from that patch are below: 2002-11-19 05:47:45 +00:00
dbg_main.cc Apply patch.safe-fullscreen. Comments from the patch follow: 2002-12-06 19:34:32 +00:00
debug.h - Apply patch.replace-Boolean rev 1.3. Every "Boolean" is now changed to a 2002-10-25 11:44:41 +00:00
lexer.c - replace with lexer.c built on linux instead of cygwin. It didn't 2002-11-19 09:25:20 +00:00
lexer.l - apply patch.ifdef-disabled-options. Comments from that patch are below: 2002-11-19 05:47:45 +00:00
linux.cc - apply patch.ifdef-disabled-options. Comments from that patch are below: 2002-11-19 05:47:45 +00:00
linux.h - add RCS Id to header of every file. This makes it easier to know what's 2001-10-03 13:10:38 +00:00
loader_misc.h - add RCS Id to header of every file. This makes it easier to know what's 2001-10-03 13:10:38 +00:00
make-syscalls-linux.pl - merged BRANCH-smp-bochs into main branch. For details see comments 2001-05-23 08:16:07 +00:00
Makefile.in - regenerate makefile dependencies 2002-11-25 15:05:51 +00:00
parser.c - apply patch.ifdef-disabled-options. Comments from that patch are below: 2002-11-19 05:47:45 +00:00
parser.h - apply patch from Alexander Krisak (darkelf@newmail.ru) 2002-10-04 14:57:36 +00:00
parser.y - apply patch.ifdef-disabled-options. Comments from that patch are below: 2002-11-19 05:47:45 +00:00
sim2.cc - Apply patch.replace-Boolean rev 1.3. Every "Boolean" is now changed to a 2002-10-25 11:44:41 +00:00
syscalls-linux.h - add RCS Id to header of every file. This makes it easier to know what's 2001-10-03 13:10:38 +00:00