Commit Graph

261 Commits

Author SHA1 Message Date
Stanislav Shwartsman
c342a7700f merge problem 2009-10-14 16:05:44 +00:00
Stanislav Shwartsman
2f95e032c3 print dr details 2009-10-14 14:56:01 +00:00
Stanislav Shwartsman
4abd5e1494 misc updates 2009-10-12 20:53:00 +00:00
Alexander Krisak
0ebb6b3241 msvc6 compilation fixes 2009-10-02 15:11:23 +00:00
Stanislav Shwartsman
38c1f41df7 Imroved sgre command 2009-10-02 10:16:04 +00:00
Stanislav Shwartsman
7dd6c7e595 fixed dbg print 2009-10-01 19:10:13 +00:00
Stanislav Shwartsman
9a2dd188e3 fixed dreg cmd 2009-09-30 17:26:08 +00:00
Stanislav Shwartsman
26c170cfff comment fix 2009-09-25 10:07:26 +00:00
Stanislav Shwartsman
daa186870f buffer overflow fix 2009-08-29 18:59:01 +00:00
Stanislav Shwartsman
f219b89801 printf err 2009-08-09 12:43:22 +00:00
Stanislav Shwartsman
bb06f8be14 added help msg 2009-08-07 08:37:30 +00:00
Stanislav Shwartsman
e912b328c2 enhances to gui debugger and integrated debugger 2009-08-07 08:26:41 +00:00
Stanislav Shwartsman
32fae2d8fc Fixed complation 2009-07-07 04:56:07 +00:00
Stanislav Shwartsman
6758f9e49a improved iteraction of internal dbger with instrumentation 2009-07-03 15:05:44 +00:00
Stanislav Shwartsman
98acb39b8d typos fixed 2009-06-01 14:50:19 +00:00
Stanislav Shwartsman
678be6928c sse dbg print 2009-05-15 19:04:58 +00:00
Stanislav Shwartsman
b7147a8586 sse debug print 2009-05-15 18:48:17 +00:00
Stanislav Shwartsman
b8b00db026 more const char* 2009-05-03 19:29:19 +00:00
Stanislav Shwartsman
d2cdcfacaf added const to strings 2009-05-03 19:21:38 +00:00
Stanislav Shwartsman
3423a493a1 Fix segfailt in 'info ldt' command 2009-04-30 18:58:44 +00:00
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
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
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
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
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
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
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
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
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
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