Stanislav Shwartsman
1255a0c585
remove fpu/softfloat.h, reduce include deprendencies, fix warnings
...
regenerate dep lists in all Makefile.in
2024-04-25 11:50:48 +03:00
Stanislav Shwartsman
ad8c21437f
fix segfault @ 'step all' command in single-processor config
2024-02-05 22:06:24 +02:00
Shwartsman
88fb948088
updates to paging code for debugability and code duplication reduction
2024-02-01 15:15:26 +02:00
Shwartsman
995e8fb6c6
let Bochs debugger switch CPU by simply typing 'cpu N' command insetad of doing 'set $cpu = N'
2024-01-23 23:13:20 +02:00
Shwartsman
b5bcbfced0
fix segfault @exit with debugger introduced by previous commit
2024-01-23 16:11:15 +02:00
Shwartsman
fb42896000
better support of SMP in debugger methods
2024-01-23 11:08:05 +02:00
Stanislav Shwartsman
a2296e5d2a
when printing instruction disassembly in debugger add status "(halted)" about halted CPU
2024-01-21 23:00:55 +02:00
Stanislav Shwartsman
c1a65ff7c4
introduce a method to switch dbg_cpu when needed
2024-01-21 22:39:59 +02:00
Shwartsman
f014160835
Add Bochs intenal debugger welcome message and improve help command
2024-01-20 21:09:46 +02:00
Stanislav Shwartsman
3a02e85599
AMX support ( #212 )
2024-01-10 20:13:25 +02:00
Stanislav Shwartsman
e3612c30f8
Implement support for LA57 and 5-level paging
2023-12-29 14:48:38 +02:00
Shwartsman
cc4f594ede
implemented process-posted-interrupts VMX extension
2023-11-27 20:15:00 +02:00
Shwartsman
4f739d7e88
simplification: dbg_show_symbolic with no return value
2023-11-12 13:38:59 +02:00
Stanislav Shwartsman
db88c6c5bf
fixed code duplication in debugger code
2023-11-10 19:10:51 +02:00
Shwartsman
d6c3ac641e
fix compilation with mingw which has READLINE but doesn't have READLINE_HISTORY
2023-10-16 17:13:17 +03:00
Stanislav Shwartsman
8316d7698f
implemented Linear Address Separation extension (LASS) ( #90 )
...
Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2023-10-15 14:32:01 +03:00
Shwartsman
c043d0ce0f
initialize boolean with true/false instead of '0' or '1'
2023-10-01 13:23:53 +03:00
Dreg
244033e234
improvement of the magic breakpoints fix #55 ( #58 )
2023-08-20 18:21:16 +03:00
Dreg
81b4bdba7b
add symbol info to info idt on protected 32
2023-07-23 16:12:44 +02:00
Stanislav Shwartsman
698859df13
fixed compilation warning
2022-10-02 22:07:26 +03:00
Dreg
d514779177
add dbghelp for source, bt and print-string commands
2022-09-12 10:53:39 +02:00
Dreg
7c6bd03e05
add layout commands for dbg
2022-08-29 18:27:12 +02:00
Dreg
acfa7399e1
dereference expression and command for dbg ( #38 )
...
* dereference expression and command for dbg
* doc updated for deref and $ operator
2022-08-23 23:37:30 +03:00
Stanislav Shwartsman
1e4f1624c8
remove trailing whitespace from source files
2022-08-23 21:46:04 +03:00
Stanislav Shwartsman
f82270013d
update user docs for internal debugger
2022-08-23 21:33:20 +03:00
Dreg
3cd6a92c8e
improved info gdt/ldt support for 64/32 entries ( #36 )
...
improved info gdt/ldt support for 64/32bit entries
2022-08-22 08:49:04 +03:00
Dreg
104d169ef8
add new dbg command loadmem, load bytes from file to memory (laddr) ( #34 )
...
* add dbg bx_dbg_write_linear
* add dbg bx_dbg_loadmem_command
load bytes from file to memory
2022-08-22 08:17:57 +03:00
Stanislav Shwartsman
2f45913397
extend setpmem command to support 8-byte values to write ( #35 )
...
Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2022-08-21 16:48:10 +03:00
Dreg
1eb1a8d641
add dbginfo support for 64 bit entries (LDT,GDT) long mode ( #33 )
2022-08-21 11:06:03 +03:00
Stanislav Shwartsman
d576eaa7c1
list in debug CR4 more already published bits (UINTR)
...
fix debug print of XCR0
2022-07-30 19:15:32 +03:00
Dreg
112afe5693
Add "bt" command to help ( #9 )
2022-07-18 13:10:22 +03:00
Stanislav Shwartsman
d9273a2414
merge type conversion patch from SF tracker #562 Fix type cast bug in bochs debugger by Xinyang Ge
2021-05-23 04:59:43 +00:00
Stanislav Shwartsman
7635b3df3e
part of fixing compilation of bx_debug with MSVC
2021-02-08 13:09:01 +00:00
Stanislav Shwartsman
44d7906420
convert debugger command line parser YACC to generate C++ source instead of pure C
...
use bool instead of bx_bool in all bx_debug stuff (now possible when YACC script have generated C++ source)
2021-02-04 18:25:27 +00:00
Stanislav Shwartsman
d103603452
some bx_bool -> bool in debugger code
2021-01-31 14:58:28 +00:00
Stanislav Shwartsman
bc680908ba
fix compilation with debugger enabled
2021-01-30 08:58:42 +00:00
Stanislav Shwartsman
62511c3101
allow dbg_fetch_mem function in broader scope
2021-01-02 14:19:28 +00:00
Stanislav Shwartsman
41ea50ba22
complete transition to new disasm, remove old disasm from source code
2021-01-02 13:43:10 +00:00
Stanislav Shwartsman
a8e066ede7
remove debugger command for disasm constant hex print mode, was not used and new disasm doesn't support it
2021-01-02 12:12:02 +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
c8eec65f04
fix code indentation
2020-12-30 17:23:12 +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
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
Stanislav Shwartsman
a378441254
update CPUID bits and CR bits according to recently published SDM documents by Intel
2020-10-03 07:59:47 +00:00
Stanislav Shwartsman
1eb0439279
fix for compilation with new env
2020-06-11 11:00:24 +00:00
Stanislav Shwartsman
4023b640d6
Protection Keys: Implemented Supervisor-Mode Protection Keys (PKS)
2020-05-29 12:35:30 +00:00
Stanislav Shwartsman
b63f3b36dc
fixed Erroneous limits calculation in function bx_dbg_get_laddr issue
2020-02-28 18:06:39 +00:00
Stanislav Shwartsman
526a565602
fixed compitaion with SMP and debugger enabled (SF bug #1411 )
2020-01-06 13:41:46 +00:00
Stanislav Shwartsman
96b2cb5825
update lexer/parser for internal debugger after CET additions
2019-12-20 07:57:59 +00:00