Commit Graph

502 Commits

Author SHA1 Message Date
Stanislav Shwartsman
052a2c640d add missing \n 2024-10-27 07:42:21 +02:00
Stanislav Shwartsman
556f64b8e7 extract EVEX opcodes definitions to separate file ia_opcodes_evex.def 2024-10-23 21:34:03 +03:00
Stanislav Shwartsman
7368a56647 remove duplicate print of eflags in debugger 2024-10-23 16:19:47 +03:00
Stanislav Shwartsman
a4c47d9559 added helper function to stringify EFLAGS as well and reuse it in Bochs debugger 2024-10-23 12:43:50 +03:00
Stanislav Shwartsman
2dfdd98ccf improve debug print after simulation finishes
add detailed print for CR0, CR4, XCR0 and EFER extensions
2024-10-23 12:15:02 +03:00
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
Volker Ruppert
542a3f9b6a MSVC workspaces: Added new USB debugger files to gui.vcxproj.
Renamed USB EHCI and USB UHCI folders in plugin workspace files.
Attempt fix plugin version for compiling with Bochs debugger / USB debugger.
FIXME: USB debugger doesn't link yet.
2024-03-22 20:23:38 +01: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
164772103a use 'a' as 'all' in debugger 2024-01-23 19:25:56 +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
167942816a regen Makefile.in dependencies 2024-01-12 01:10:47 +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
3c857f2ad1 make APIC from static object to dynamic so many cc files won't need to be dependent on apic.h 2023-11-28 11:08:42 +02:00
Shwartsman
cc4f594ede implemented process-posted-interrupts VMX extension 2023-11-27 20:15:00 +02:00
Stanislav Shwartsman
a9457e466c fixed compilation with debugger 2023-11-12 20:28:12 +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
133144ae41 update include dependencies for CPU, MEMORY and BX_DBG folders 2023-10-16 19:42:44 +03: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
Stanislav Shwartsman
4b7e61d985 add updated lex and yacc scripts 2023-08-20 18:35:19 +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
Stanislav Shwartsman
22f868ae6d update lex/yacc autogenerated files for debugger 2022-10-02 22:02:09 +03:00
Dreg
d514779177 add dbghelp for source, bt and print-string commands 2022-09-12 10:53:39 +02:00
Stanislav Shwartsman
ce44e952ee update autogenerated lex/yacc files with new debugger command 2022-09-09 16:53:32 +03:00
Dreg
7c6bd03e05 add layout commands for dbg 2022-08-29 18:27:12 +02:00
Stanislav Shwartsman
6acd22b7e4 regen lex/yacc after deref command 2022-08-23 23:39:33 +03: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
Stanislav Shwartsman
fc39d2b6fe regen lex/yacc autogenerated files after writemem command added 2022-08-23 21:20:55 +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
Dreg
35277e61f5
add string argument for instrument command (#8) 2022-07-18 10:25:35 +03:00
Volker Ruppert
52b0000db7 Applied two patches from Debian.
- Apply standard flags from environment everywhere (SF patch #546).
- Allow overriding ld and objcopy for building bios on non-x86 platforms.
2021-09-10 15:33:22 +00:00
Stanislav Shwartsman
021f3794fa remove cpudb.h from some Makefile dependencies. TODO: it should be only in cpu/init.cc and config.cc 2021-07-25 18:08:54 +00:00