Stanislav Shwartsman
1765a06d01
move debug.h from bochs.h and include it only where required
2021-01-31 15:22:58 +00:00
Stanislav Shwartsman
1089e470e9
remove bochs-memory.h from bochs.h and include it only where required
2021-01-30 20:13:34 +00:00
Stanislav Shwartsman
7cc9cffeed
remove siminterface.h from bochs.h and include it only where required
2021-01-30 19:40:18 +00:00
Stanislav Shwartsman
2999eab48c
remove defines which belong to already removed feature. fix compilation with GUI debugger enabled
2021-01-30 19:07:56 +00:00
Volker Ruppert
a248bd375a
Changed bx_bool to bool type in the gui component of Bochs.
2021-01-30 18:32:52 +00:00
Stanislav Shwartsman
2f3adf849c
enable syntax switch with new disasm also in GUI debugger, switch to new disasm by default everywhere
2021-01-02 12:04:52 +00:00
Stanislav Shwartsman
bb568997c9
use new disasm wrapper method in more place
2020-12-30 14:09:25 +00:00
Stanislav Shwartsman
72db10d766
fix symbols display within disasm for new disassember, integrate new disasm with GUI debugger properly
2020-12-30 12:23:19 +00:00
Stanislav Shwartsman
79db3896d4
enable symbols for branch targets and JMP/CALL direct ptr instructions in new disassembler (still to be tested), attempt to use new disassembler in GUI debugger
2020-12-30 11:36:33 +00:00
Volker Ruppert
4d6a88ec94
Fixed dbg_fetch_mem() and dbg_set_mem() similar to other memory access methods.
...
- Always apply the A20 setting to the requested address.
- Fixed the conditions for SMRAM access.
- Added support for memory handlers and removed direct VGA memory access.
- Added support for reading from BIOS flash memory.
2020-12-08 19:52:39 +00:00
Volker Ruppert
a01a0262be
Two small Bochs debugger changes.
...
- Fixed a warning in the enhanced debugger core.
- Update generated file parser.c.
2019-12-14 12:55:08 +00:00
Stanislav Shwartsman
96e2c50bef
applying SF patch #545 Speling fixes
2019-12-09 16:29:23 +00:00
Stanislav Shwartsman
f490b00beb
added support for conditional breakpoints in Bochs debugger
2017-08-22 18:47:18 +00:00
Volker Ruppert
4502478b50
Changed a lot of malloc() / free() calls to C++ style new / delete.
2017-02-18 11:13:56 +00:00
Volker Ruppert
974c8d5124
Fixed compilation errors that occur with debugger enabled.
2016-12-06 18:07:05 +00:00
Stanislav Shwartsman
98c69ce6ae
c++ better to use new/delete and not malloc
2016-12-05 19:05:31 +00:00
Volker Ruppert
10a016194c
Save proportions of the Reg, Asm and Dump windows to INI file.
...
TODO: handle font selection and main window size/position in the GTK version.
2014-11-06 17:13:27 +00:00
Volker Ruppert
91937748fa
Added "DockOrder" setting to gui debugger INI file.
...
Prepared handling of platform-specific settings (e.g. fonts, window sizes).
2014-09-14 19:36:13 +00:00
Volker Ruppert
d12858ab31
Add one more common setting to gui debugger INI file.
...
TODO: add platform-specific settings (font, window size/position)
Disable log viewer on debugger exit.
textconfig: minor fixes found while testing gui debugger.
2014-09-01 16:47:26 +00:00
Volker Ruppert
d30d9bc667
Handle some more settings in gui debugger INI file.
2014-08-31 08:18:43 +00:00
Volker Ruppert
9b3b792c73
Gui debugger: handle some more settings in INI file
...
Slirp: fixed copy-and-paste error
2014-08-30 07:14:19 +00:00
Volker Ruppert
7ba82cab9f
Write enhanced debugger gui settings to config file on exit and read them in
...
the init code. Started with the SeeReg[] array values. Some other setting could
be added later. The parser code is based on the slirp config parser.
Slirp: fixed possible segfault if the value for a parameter is missing.
2014-08-24 14:28:42 +00:00
Volker Ruppert
36aa1ae6d2
Close enhanced gui debugger in gui exit() method if necessary.
...
TODO: read / write enhanced gui debugger settings in init / close functions
2014-08-17 12:48:05 +00:00
Stanislav Shwartsman
09414f2f4b
implemented access to opmask AVX-512 registers from debugger, fixed enhdbg buffer overflow with EVEX enabled
2014-02-11 20:51:18 +00:00
Volker Ruppert
63cb7f93bf
Small bugfix for Windows: set / clear menu item check mark for log viewer
2014-01-13 22:04:39 +00:00
Volker Ruppert
4c6481578d
Added capability to use the gui debugger output window as a log viewer
2014-01-13 21:31:14 +00:00
Volker Ruppert
9c3d374e6a
continued work for "wx second run" support
...
- memory: initialize ISA and PCI ROM variables in init_memory()
- sb16: remove items from runtime menu in destructor
- gui debugger: show dialog contents (TODO: fix remaining display issues)
- TODO: fix deadlock in bx_wx_gui::handle_events()
2013-02-18 20:52:19 +00:00
Volker Ruppert
638a1a2157
fixed stepN command in SMP mode
2013-02-15 20:06:09 +00:00
Volker Ruppert
e44176f597
run stepN command in the simulation thread to avoid deadlock in wxBochs
...
GTK init is not required in the wxGTK case
removed unnecessary include
2013-02-15 15:47:16 +00:00
Volker Ruppert
5416e462e9
moved debugger notify callback functions to enh_dbg.cc
2013-02-14 21:06:20 +00:00
Volker Ruppert
97de484efb
use enhanced gui debugger instead of classic wx debugger if BX_DEBUGGER_GUI == 1
...
The Windows version looks almost stable, but the GTK version fails in some cases.
That's why the classic wx debugger is still available if BX_DEBUGGER_GUI is set to 0.
- added function close_debug_dialog() to handle the simulation stop case in wx
- disable all the wx debugger related code if BX_DEBUGGER_GUI is set to 1
- added enhanced debugger specific init code similar to the code in sdl.cc
- include debugger related resources on Windows
- TODO: make the GTK / wxGTK case stable and remove the wx debugger
2013-02-12 21:08:35 +00:00
Stanislav Shwartsman
9c8c25b7ef
warning fix
2013-02-12 16:36:49 +00:00
Volker Ruppert
7eda0feb6f
fixed some compiler warnings
2013-02-12 13:31:40 +00:00
Volker Ruppert
72d3b294d2
- added support for the gui debugger with sdl on Windows (required separate thread)
...
- enh_dbg: fixed defined-but-not-used warnings
- siminterface: renamed 'wx_debug_gui' to 'bx_debug_gui' and updated comments
- TODO: remove the wx debugger and use the enhanced gui debugger instead
2012-07-01 14:37:13 +00:00
Volker Ruppert
aba8372a78
- function InitDebugDialog() is optimized out by GCC when compiling with plugins
...
enabled (not called internally). Added new gui method init_debug_dialog() and
call it from there.
- fixed typo in enh_dbg.cc
2012-06-24 09:14:43 +00:00
Stanislav Shwartsman
c6ea1482b0
added ifdef
2012-06-24 07:16:14 +00:00
Stanislav Shwartsman
60ceffc5d1
fixed SF bug [3537473] GUI debugger only shows 32-bit CRx registers in x86-64 mode
2012-06-24 07:06:31 +00:00
Stanislav Shwartsman
03162d86f5
LAPIC: fixed timer interrupts after reloading of LAPIC Timer Divide Configuration register
2012-05-12 11:52:29 +00:00
Stanislav Shwartsman
07a50eac31
closing SF bug #3518753 : update dump after manual chages to memory contents
2012-04-17 14:32:57 +00:00
Stanislav Shwartsman
e12494bf7b
fixed segfault when setting ESP/EIP in GUI debugger
2012-04-16 19:18:23 +00:00
Stanislav Shwartsman
077b691296
correctly fix SF #3516029 : bug stepping not working in debugger GUI in case of smp vm
...
reverted buggy SF patch #3502052 : Added refresh of debugger gui when stepping
re-generated bx_debugger lex/yacc files
2012-04-10 12:44:06 +00:00
Stanislav Shwartsman
33fe397d22
Merge SF patch [3502052] Added refresh of debugger gui when stepping
2012-03-11 20:17:12 +00:00
Stanislav Shwartsman
002e7a3818
MSR_TSC_AUX is not available without RDTSCP
2011-08-21 19:09:35 +00:00
Stanislav Shwartsman
0bc93fdc59
added pentium mmx to cpudb. for now only can be enabled when cpu-level=5
2011-08-16 19:04:36 +00:00
Stanislav Shwartsman
43e2a59e3e
configure show-ips ON by default for all configurations
2011-08-13 19:44:24 +00:00
Stanislav Shwartsman
9d2e601173
correctly handle SSE presence in GUI debugger
2011-08-11 18:43:13 +00:00
Stanislav Shwartsman
27df10acb6
fixed typo-like bug
2011-08-11 18:16:56 +00:00
Stanislav Shwartsman
c3de861958
fixed gui debugger mode change display
2011-04-28 19:16:51 +00:00
Volker Ruppert
c78026a9a2
- deleted executable properties from source files
2011-04-03 10:29:19 +00:00
Stanislav Shwartsman
00981cd7a6
Adding Id and Rev property to all files
2011-02-24 22:05:47 +00:00