Commit Graph

278 Commits

Author SHA1 Message Date
Volker Ruppert
a1e65bae3a - bx_dbg cleanup in the keyboard and harddrv code
- several other debug message cleanups
2009-04-25 08:06:32 +00:00
Volker Ruppert
3a3b3f5b07 - bx_dbg cleanup in the floppy and unmapped code (using BX_DEBUG now) 2009-04-24 14:57:25 +00:00
Stanislav Shwartsman
2a268ecd5b small cleanup 2009-04-24 08:16:06 +00:00
Stanislav Shwartsman
cb312c9470 make port_e9_hack runtime option (and not configure time)
clean-up a bit in bx_dbg struct in bochs.h
2009-04-23 18:28:17 +00:00
Stanislav Shwartsman
23326d86b6 fixed warning
unify names of debugger dump methods
2009-04-21 20:27:35 +00:00
Stanislav Shwartsman
67c45a0113 cleanups, tab2space and fixes for compilation by MSVCPP 2009-04-14 09:45:22 +00:00
Stanislav Shwartsman
85d9418f82 Regenerate lexer/parser for debugger 2009-04-07 16:29:59 +00:00
Stanislav Shwartsman
4fc66aab31 Fixes for compilation by Visual Studio 2008 2009-04-07 16:12:19 +00:00
Stanislav Shwartsman
9e092a86c3 merge "system" and "segment" blocks of descriptor 2009-04-05 19:09:44 +00:00
Stanislav Shwartsman
c9383813f0 don't have to keep both limit and limit_scale 2009-04-05 18:16:29 +00:00
Stanislav Shwartsman
981c2e595d Improve internal debugger commands parsing.
Now possible to set read/write watchpoits using 'r' and 'w' shortcuts instead of full 'read' and 'write' words
2009-04-03 17:36:24 +00:00
Stanislav Shwartsman
2a4a481b0e Fixed watchpoint handling 2009-03-27 21:01:16 +00:00
Stanislav Shwartsman
10e373f79f Fixed compilation err 2009-03-27 13:20:23 +00:00
Stanislav Shwartsman
1c0f788d3f Fixed compilation err 2009-03-25 07:09:52 +00:00
Stanislav Shwartsman
51ea504442 Fixed compilation with debugger on 2009-03-10 17:02:03 +00:00
Stanislav Shwartsman
9e723a044f - Added configure option to enable/disable A20 pin support. Disabling the
A20 pin support slightly speeds up the emulation.

  - small code cleanup
2009-03-10 16:28:01 +00:00
Volker Ruppert
9e3dd83e85 - reduce some more dependencies and related Makefile.in updates 2009-02-23 11:06:53 +00:00
Volker Ruppert
790eec83ca - converted I/O APIC to a device plugin
- updated dependencies
2009-02-22 10:44:50 +00:00
Stanislav Shwartsman
9b3df76910 Fixed comp err 2009-02-20 23:01:09 +00:00
Stanislav Shwartsman
1e2fd1a737 Fixed compilation err 2009-02-16 18:27:50 +00:00
Stanislav Shwartsman
20d1ee5815 Fixed memory leak + some compilation warning 2009-02-08 18:52:06 +00:00
Volker Ruppert
e5eac65b59 - removed wrong character from FSF address (converted invisible and useless
2-byte character)
- updated FSF address in some files
- added license to some files
2009-02-08 09:05:52 +00:00
Stanislav Shwartsman
3b799101f4 Optimize debugger stepN when single processor mode 2009-02-01 22:20:04 +00:00
Stanislav Shwartsman
b780068399 Fixed gcc4 warnings 2009-01-30 21:47:42 +00:00
Stanislav Shwartsman
db098a1205 Fix dependencies of CPU code from disasm library
Regent Makefile.in for CPU
2009-01-19 19:01:03 +00:00
Stanislav Shwartsman
c8fa6f6b90 Added CR4 fields 2009-01-18 21:25:49 +00:00
Stanislav Shwartsman
9929e6ed78 - updated FSF address 2009-01-16 18:18:59 +00:00
Stanislav Shwartsman
19072fb5ce Fix for [ 2426271 ] cannot get correcet symbol entry 2009-01-10 21:38:36 +00:00
Volker Ruppert
e12b21e647 - update all dependencies 2009-01-03 09:54:10 +00:00
Stanislav Shwartsman
d33b0bb79a in long mode, not only in 64-bit mode 2008-12-16 19:28:19 +00:00
Stanislav Shwartsman
5086d2e756 implement info idt in long mode 2008-12-16 19:26:57 +00:00
Stanislav Shwartsman
6f63523a8e Fixed compilation error 2008-12-08 20:20:30 +00:00
Stanislav Shwartsman
d7fa44d270 optimize code access detection 2008-12-05 22:34:42 +00:00
Stanislav Shwartsman
ac5b7bff1b Fixed double tick count in stepN command of bx_debugger with SMP enabled but only 1 CPU 2008-11-18 21:03:04 +00:00
Stanislav Shwartsman
17040303f7 Optimization of repeat string 2008-10-08 20:15:37 +00:00
Stanislav Shwartsman
0e66403a25 Change watchpoints to be more flexible - and more similar to 2.3.7 2008-10-08 17:13:35 +00:00
Alexander Krisak
e108fe0d58 Yet another win32 build fix. cpu/resolve.cc renamed to cpu/resolver.cc
because it conflicts with disasm/resolve.cc.
2008-10-07 07:47:56 +00:00
Stanislav Shwartsman
5c3dc4b780 Fixed breakpoint handling 2008-10-02 06:48:33 +00:00
Stanislav Shwartsman
cc17a7006a Allow using of expressions for page command 2008-09-12 21:03:56 +00:00
Volker Ruppert
b99ddb4ac7 - NMAKE (MSVC toolkit 2003) doesn't like structure type and member having the
same name
2008-09-07 07:57:01 +00:00
Alexander Krisak
f0bf6139de debugger: command 'print-stack' in 32bit protected mode now use base of
stack segment
2008-08-28 10:57:37 +00:00
Stanislav Shwartsman
e19c25a234 Reimplemented watchpoints handling. Up to 16 watchpoints of any kind (but not each kind) is available.
Check 'help watch, help unwatch' in Bochs debugger !
2008-08-07 21:09:30 +00:00
Stanislav Shwartsman
8a71b339ee Fixed breakpoint handling in SMP mode 2008-08-01 08:36:04 +00:00
Stanislav Shwartsman
9a90d20f59 Support for 16-byte mem access 2008-07-26 14:20:24 +00:00
Stanislav Shwartsman
bb44f5c5b5 Re-apply SF patch "Set new default format and unit only if both are supported" 2008-07-11 17:31:30 +00:00
Stanislav Shwartsman
f9e84e2825 Merge patch from @SF 2008-07-11 03:53:30 +00:00
Stanislav Shwartsman
0dd9f19800 Fixed bx_debug compilation with gcc 4.3 2008-06-16 17:09:52 +00:00
Stanislav Shwartsman
061555b7c1 Print HALTED message only when tracing is enabled 2008-06-12 21:00:25 +00:00
Stanislav Shwartsman
288b086e20 Fixed compilation err 2008-06-11 20:29:30 +00:00
Stanislav Shwartsman
8896873383 FIxed compilation warning _ indent 2008-06-09 23:00:43 +00:00
Stanislav Shwartsman
8596a2a242 Fix compilation, update CHANGES 2008-05-31 21:07:30 +00:00
Stanislav Shwartsman
8d17e7b539 Fixed watchpoints handling 2008-05-31 20:59:38 +00:00
Stanislav Shwartsman
3619c0f6b4 Some changes to make x86-debugger feature working back 2008-05-23 17:49:46 +00:00
Stanislav Shwartsman
3f1e436926 Removed unused variables in bx_dbg struct 2008-05-23 14:04:45 +00:00
Stanislav Shwartsman
e98b58651d Added missed newline 2008-05-19 19:11:24 +00:00
Stanislav Shwartsman
fafae755b3 Formatting fixes 2008-05-10 20:33:39 +00:00
Stanislav Shwartsman
6ebae41ad7 print physcial address with special format - preparations for 64-bit physical address emu 2008-05-09 22:33:37 +00:00
Stanislav Shwartsman
8e3b0ea1af Fixed few typos in debugger command and print 2008-05-03 21:32:02 +00:00
Stanislav Shwartsman
abe5309ab9 Clean 'info registres' command - use only direct aliases.
instead of 'info fpu' - just use 'fpu'
and etc
2008-05-01 19:10:07 +00:00
Stanislav Shwartsman
6c82e707c8 FIxed typo 2008-04-26 18:58:26 +00:00
Stanislav Shwartsman
003c23e7ea Added aliases for some debugger command
fp|fpu - same as info fpu
sse - same as info sse
mmx - same as info mmx
sreg - same as info sreg
2008-04-26 18:50:32 +00:00
Stanislav Shwartsman
c660853202 Implemented info ldt command 2008-04-25 21:08:58 +00:00
Stanislav Shwartsman
7b1579f3ca Fixed trace-mem print format 2008-04-25 19:27:18 +00:00
Stanislav Shwartsman
4ada6b6e8e Fixed timebp bug 2008-04-20 09:20:56 +00:00
Stanislav Shwartsman
c9c16ad87f Update LEX/YACC precompiled files for internal debugger 2008-04-19 20:21:29 +00:00
Stanislav Shwartsman
bc86f6393a Removed incorrect commit 2008-04-19 20:11:30 +00:00
Stanislav Shwartsman
9ddcd01b27 Fixes for trace-mem command 2008-04-19 20:01:09 +00:00
Stanislav Shwartsman
5fafafb5e6 Added trace-mem to debugger help 2008-04-19 13:22:05 +00:00
Stanislav Shwartsman
bdaef81603 Added debugger memory trace functionality. Enable by 'trace-mem on' command 2008-04-19 13:21:23 +00:00
Stanislav Shwartsman
639967e1da Fixed typo 2008-04-17 20:48:52 +00:00
Stanislav Shwartsman
5665dab58c More places where CPU vector was used 2008-04-17 20:45:00 +00:00
Stanislav Shwartsman
5b900fbb5e Fixed exception name (another one) 2008-04-16 22:28:07 +00:00
Stanislav Shwartsman
7593d9d7e2 Fixed exception name 2008-04-16 21:49:46 +00:00
Stanislav Shwartsman
068276b957 - added description for debugger exceptions
- fixed EFLAGS debug print from internal debugger
2008-04-16 16:42:00 +00:00
Stanislav Shwartsman
e5e8785973 Can't use access_linear in debugger because it has sideeffects on CPU 2008-04-11 21:59:47 +00:00
Stanislav Shwartsman
1350b77700 Fixed 'r' command with 64-bit registers 2008-04-11 14:16:46 +00:00
Stanislav Shwartsman
a851cfd8f0 Re-implemented modebp debugger function in simple and more clean way 2008-04-07 19:59:53 +00:00
Stanislav Shwartsman
fea49bb270 Fixed linear address wrap in legacy (not long64) mode 2008-04-07 18:39:17 +00:00
Stanislav Shwartsman
2a121e2664 Fixed compilation error with bx debugger 2008-04-05 21:41:31 +00:00
Stanislav Shwartsman
858842edec Typo fix 2008-04-04 14:04:11 +00:00
Stanislav Shwartsman
3c40cb1610 More improvements to load-symbols in bx debugger 2008-03-30 14:32:14 +00:00
Stanislav Shwartsman
a77b012049 Update debugger parser 2008-03-30 05:47:31 +00:00
Stanislav Shwartsman
041ae54724 Fixed lexer bug 2008-03-30 05:45:42 +00:00
Stanislav Shwartsman
6b6492dd36 Compiled lex/yacc output for debugger 2008-03-29 21:37:18 +00:00
Stanislav Shwartsman
46e7ca44dc dded patch with symbols support in bochs-debugger 2008-03-29 21:32:18 +00:00
Stanislav Shwartsman
b745be68ef Improve show param call in bochs debugger - search also in default CPU tree 2008-03-28 12:51:02 +00:00
Stanislav Shwartsman
15106acdba Another #SF patch merge
another patch to fix compilation with vc8 (or, more
precisely with Dimkunware STL). It corrects the usage of std::set
iterators.
2008-03-26 22:39:07 +00:00
Stanislav Shwartsman
528d34f108 Forgot printf param 2008-03-23 21:40:17 +00:00
Stanislav Shwartsman
a22160959b HLT callback to Bochs internal debugger 2008-03-23 21:39:01 +00:00
Stanislav Shwartsman
7bd2cf39d3 Fixed printf format bugs 2008-03-23 21:25:13 +00:00
Stanislav Shwartsman
d9464b18d4 Fixed reading of 64-bit params from bx_debugger (info sse and info fpu commands are affected) 2008-03-23 17:59:44 +00:00
Stanislav Shwartsman
47a36880e8 Handle breakpoints for step N command in debugger similar to continue command
Patch by Sharvil Nanavati
2008-03-03 10:49:54 +00:00
Stanislav Shwartsman
a459a64f3e whispace, tab2space, indent, dos2unix and other cleanups 2008-02-15 22:05:43 +00:00
Stanislav Shwartsman
cdcd7522aa Added RIP to the GPR register file as lst register
This allowed to optimize (read - remove) two more BxResolve methods in 64-bit mode
+ Some white space cleanup
2008-02-15 19:03:54 +00:00
Stanislav Shwartsman
eebd96e2d7 another whitespace cleanup by Sebastien 2008-02-05 22:33:35 +00:00
Stanislav Shwartsman
37fbb82baa Cleanups. Move bxInstruction_c definition to separate file instr.h 2008-01-29 17:13:10 +00:00
Stanislav Shwartsman
ff0cae91c9 Fixed compilation warnings 2008-01-17 15:39:45 +00:00
Stanislav Shwartsman
72d72c92d4 Fixed warnings of VC2008 2007-12-30 18:02:22 +00:00
Stanislav Shwartsman
d82209e28d A bit speedup 'continue' debugger command 2007-12-13 22:56:35 +00:00
Stanislav Shwartsman
f57e7c4a1f Some more Bit32u -> bx_phy_address changes in the code 2007-12-13 21:53:55 +00:00