Stanislav Shwartsman
e4513c727a
simplify some bochs internal dbg stuff
2011-08-11 19:40:51 +00:00
Stanislav Shwartsman
432bf97197
was playing with SMP and debugger
2011-07-09 22:17:16 +00:00
Stanislav Shwartsman
b14d962763
remove redundant flag
2011-06-01 20:44:40 +00:00
Stanislav Shwartsman
ee3f9e36cb
Implemented Supervisor Mode Execution Protection (SMEP)
2011-05-29 16:28:26 +00:00
Stanislav Shwartsman
2e6d8c09ed
update autogenerated files
2011-05-06 08:30:44 +00:00
Stanislav Shwartsman
4a7947f5e3
update autogenerated files
2011-05-06 08:29:23 +00:00
Stanislav Shwartsman
92bb77ef1d
Merge patch from SF tracker:
...
[3298173] Breakpoint on VMEXIT event by Jianan Hao
Patch description:
The patch provides a new command "vmexitbp" to set breakpoint when VM guest exit. The simulation will be stopped before first HOST mode instruction is executed.
Usage:
Type "vmexitbp" in debugger command window to switch it on/off (similar to modebp).
Currently, the patch has no corresponding interface on GUI debugger. Someone may add it if interested.
2011-05-06 08:19:03 +00:00
Stanislav Shwartsman
988ac41389
regen lex files
2011-05-02 17:20:38 +00:00
Volker Ruppert
c78026a9a2
- deleted executable properties from source files
2011-04-03 10:29:19 +00:00
Stanislav Shwartsman
7ced718040
implemented AVX instructions support
...
many changes - some cleanup will follow
please report ay found bugs !
2011-03-19 20:09:34 +00:00
Stanislav Shwartsman
16021a0ddb
rename model_specific.h to be cpuid.h
2011-03-19 17:35:18 +00:00
Stanislav Shwartsman
1aaf596d79
small fixes
2011-03-19 17:19:41 +00:00
Stanislav Shwartsman
ad536dd379
regenerated using latest tools
2011-03-04 20:35:24 +00:00
Stanislav Shwartsman
64a30a15fa
Adding Id and Rev property to all files
2011-02-25 20:16:02 +00:00
Stanislav Shwartsman
00981cd7a6
Adding Id and Rev property to all files
2011-02-24 22:05:47 +00:00
Stanislav Shwartsman
b20b08a3a3
better dbg print
2011-02-24 19:50:24 +00:00
Stanislav Shwartsman
b5ebe5865e
Fixes for incoming bug report, missed changes in CVS, repository fixups and etc
2011-02-11 09:56:23 +00:00
Volker Ruppert
44ece7cf26
- including vga.h in iodev.h no longer necessary and symbol NO_DEVICE_INCLUDES
...
is useless then
- updated makefile dependenies
2011-01-24 20:35:51 +00:00
Stanislav Shwartsman
1047acb2cc
rename SSE register param - prepare for wide SSE register (AVX)
2010-12-06 21:52:41 +00:00
Stanislav Shwartsman
91ac0df65c
implemented GS/FS BASE access instructions published in _319433-007.pdf document
2010-07-22 16:41:59 +00:00
Stanislav Shwartsman
2b1ea37252
verbose page command from debugger
2010-05-04 20:17:26 +00:00
Stanislav Shwartsman
df07dab80f
verbose phy mem access tracing
2010-04-13 17:56:50 +00:00
Stanislav Shwartsman
d39d485ece
changes variable name to better one
2010-04-03 05:59:07 +00:00
Stanislav Shwartsman
6d01eb5c1f
announce (not implement yet) PCID
2010-03-31 14:00:46 +00:00
Stanislav Shwartsman
01cfbdccbc
Move MMX to be runtime option
2010-03-01 18:53:53 +00:00
Stanislav Shwartsman
5df864b1f1
Move param_names.h into bochs root folder
2010-02-26 14:18:19 +00:00
Stanislav Shwartsman
84ba84ea9d
updates
2010-02-26 12:10:17 +00:00
Stanislav Shwartsman
033a20b3b2
allow to configure CPU features at runtime - implemened on example of SSE/AES/MOVBE/POPCNT
2010-02-25 22:04:31 +00:00
Stanislav Shwartsman
59963e8b4d
missed ;
2010-02-24 19:43:40 +00:00
Stanislav Shwartsman
8450728794
cleanup
2010-02-24 19:41:32 +00:00
Stanislav Shwartsman
d493e33659
print-stack fix
2010-01-10 14:11:53 +00:00
Stanislav Shwartsman
7495909597
fixed print-stack with 16-bit stack size (mem buffer overflow)
2010-01-09 20:28:07 +00:00
Stanislav Shwartsman
c67f6eddc7
Applied patch :
...
[2926072] Indirection operators in expressions by Derek Peschel
2010-01-05 13:59:08 +00:00
Stanislav Shwartsman
1c68cb8243
help dreg cmd fix
2009-12-30 19:20:27 +00:00
Stanislav Shwartsman
e8bf2b7785
regen files
2009-12-28 14:02:48 +00:00
Stanislav Shwartsman
fe687fd1a6
disasm displacements and offsets by default now printed as "relative" signed integers and not as unsigned offsets could toggle it back with disasm command.
...
help disasm in debugger
2009-12-28 13:52:40 +00:00
Stanislav Shwartsman
069ea6228e
disasm displacements and offsets by default now printed as "relative" signed integers and not as unsigned offsets
...
could toggle it back with disasm command.
help disasm in debugger
2009-12-28 13:44:32 +00:00
Stanislav Shwartsman
e59ff3d779
cleanup
2009-12-28 09:26:22 +00:00
Stanislav Shwartsman
d779842da3
added ability to modify sregs from bochs debugger
2009-12-27 16:38:09 +00:00
Stanislav Shwartsman
bd60e0264c
change Copyright to Bochs Project
2009-12-04 16:53:12 +00:00
Stanislav Shwartsman
b71eb23145
remove redundant stuff
2009-11-20 12:15:21 +00:00
Stanislav Shwartsman
27e3f6fda0
implemented range watchpoints - GUI debugger still can only do 1-byte length watches
2009-11-20 12:02:57 +00:00
Stanislav Shwartsman
6601f15c2e
first step for range watchpoints - code reorg
2009-11-19 21:28:25 +00:00
Stanislav Shwartsman
c4b9af631b
bugfix - gcc4 warning showed it :(
2009-11-12 21:06:41 +00:00
Stanislav Shwartsman
69fd6903c4
Fixed MSVCPP compilation error
2009-11-09 21:26:09 +00:00
Stanislav Shwartsman
9c9d8f66af
small fixes
2009-11-07 20:30:39 +00:00
Stanislav Shwartsman
ab1740b446
Fix in symbols
2009-11-07 20:07:04 +00:00
Stanislav Shwartsman
0fa41a33ea
style changes
2009-11-02 14:56:26 +00:00
Stanislav Shwartsman
e6da2ce8e8
updated docs and dbger help
2009-10-31 17:46:12 +00:00
Stanislav Shwartsman
98b51805d5
updates for Bochs debugger
2009-10-29 15:49:50 +00:00
Stanislav Shwartsman
22fa00831a
print if tss.base can't be translated to phy addr
2009-10-15 21:24:22 +00:00
Stanislav Shwartsman
a666532324
remove another unused function
2009-10-15 21:15:18 +00:00
Stanislav Shwartsman
3dbb1da68a
remove "dirty" pages tracking - it is too memory consuming and can fit with >4G phy addr space
2009-10-15 20:50:33 +00:00
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
7c0e038cbc
fixed obsolete hash_map in dbg symbols module (patch from SF)
2009-05-03 18:31:23 +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
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
Stanislav Shwartsman
e51184c8cf
Eliminate saving of RSP from heart of cpu_loop
...
Now save RSP only where it is really required
2007-11-24 14:22:34 +00:00
Stanislav Shwartsman
9481924b35
small bugfix in print stack command
2007-11-01 20:53:20 +00:00
Stanislav Shwartsman
7f1bdefedc
Update docs and help
2007-10-23 21:59:04 +00:00
Stanislav Shwartsman
6d7134ef99
Remove dump_cpu debugger function, CPI method and all related structures.
...
Extended 'info' command in debugger to have all functionality of dump_cpu if needed. Also param tree print always could be used !
2007-10-23 21:51:44 +00:00
Stanislav Shwartsman
42fdd8a3a1
During Bochs benchmarking I figured out that hostasm actually slow down the emulation ... so remove this ugly code which also doesn't help :)
...
speedup flags update for some instructions - idea was taken from DT patch by h.johansson
2007-10-21 22:07:33 +00:00
Stanislav Shwartsman
e9801ef501
Support for restore cpu (and any other device from bochs root) from debugger
2007-10-14 19:04:51 +00:00
Stanislav Shwartsman
e6d13d526b
Suppory 64-=bit CR2 value in info cr command
2007-10-14 00:23:06 +00:00
Stanislav Shwartsman
ac272e9383
Changes breakpoints configure time enable macroses - reduce amount of compile-time parameters
2007-10-12 22:11:25 +00:00
Stanislav Shwartsman
f6ed95785f
added cpu state param - for future use and for dbg info
...
started to move debugger to info bx_param interface -> info sse and info mmx commands modified
2007-10-11 18:12:00 +00:00
Stanislav Shwartsman
07739173f5
add --show-ips to all configs for future releases (it is not ON by default ?)
...
Bit32u -> bx_phy_address in debugger and some other places
2007-10-09 19:49:23 +00:00
Stanislav Shwartsman
071c5c1a26
A lot of changes but everything is really trivial.
...
Make save/restore default feature, the configure option for save/restore removed from configure script and save/restore made available forever. All code now assume it is exists. Bochs save/restore tree previosly called "save_restore" renamed to "bochs" tree and it will be havily used everywhere, starting from save/restore and ending by various bochs debugger functions. I am going to rework debugger code to get rid of debug CPU access functions and use this "bochs" param tree instead
2007-09-28 19:52:08 +00:00
Stanislav Shwartsman
33a5305803
Fix error message when doing set cpu command
2007-09-27 07:03:11 +00:00
Stanislav Shwartsman
6b86091441
Implemented new debugger 'page' command according to feature request
...
[ bochs-Feature Requests-604221 ] Debugger command: query lin<->phys mapping
2007-09-23 21:10:06 +00:00
Stanislav Shwartsman
412eeeeb7c
Get crregs definition to separate file from cpu.h
2007-09-10 16:00:15 +00:00
Stanislav Shwartsman
8014e4061b
Patch from mailing list
2007-07-09 14:57:33 +00:00
Stanislav Shwartsman
5e97ddb984
Use GDT and IDTR limit in 'info gdt/idt commands
2007-05-12 19:19:15 +00:00
Stanislav Shwartsman
b6c8275cfd
remove old PIT model and always use Greg Alexander's new one
2007-04-08 21:57:06 +00:00
Stanislav Shwartsman
c738d82290
Fix for debugger in SMP binary executing single CPU
2007-03-06 21:18:00 +00:00
Stanislav Shwartsman
40a395a3f4
Improve single threaded simulation speed in SMP binary of Bochs
...
This is still significantly slower than in native no-SMP binary but faster than before at least
2007-03-06 21:12:20 +00:00
Stanislav Shwartsman
d54c63e9cb
FIxed compilation error
2007-01-25 19:21:20 +00:00
Stanislav Shwartsman
dd00bc66d0
Fixed disasm in 64bit mode, added new accessor for printing 64bit values
2007-01-13 10:43:31 +00:00
Stanislav Shwartsman
b7be2eb0b1
Fixed timer breakpoint bug
2007-01-04 20:12:32 +00:00
Volker Ruppert
3063397fd4
- first attempt to implement a debugger gui dialog for win32
...
- new display library option "windebug" enables the new feature
- simple dialog box with a command line and a multiline text viever
- TODO: implement modeless dialog with cpu registers and it should be possible
to interrupt "continue" and "step N" commands
- win32dialog: fixed function GetBochsWindow()
- textconfig: removed unused save/restore prompt
2006-11-12 10:07:18 +00:00
Stanislav Shwartsman
f19595136b
*** empty log message ***
2006-11-07 08:24:22 +00:00
Volker Ruppert
f348c6cf50
- fixed broken debugger "rc file" command line option. Now it is possible to
...
execute debugger commands from the specified file. This is the command line
counterpart to the undocumented debugger command "source".
2006-10-24 17:53:47 +00:00
Stanislav Shwartsman
4ceec75181
Print EFER status in 'info cr' command
2006-10-21 22:18:39 +00:00
Stanislav Shwartsman
650086669c
Print 64-bit registers in 'info registers' command and in dump_regs
2006-10-21 22:06:39 +00:00
Stanislav Shwartsman
e410fa4a5a
Small optimization for debugger parser - avoid using of non-safe "numeric range" param
2006-10-21 21:28:20 +00:00
Stanislav Shwartsman
9e3a969239
Fixed lb/pb methods for platforms with BX_HAVE_STRTOULL=0
2006-10-19 17:51:58 +00:00
Stanislav Shwartsman
3329fb32ec
Fixed lb/vb commands
2006-10-18 20:07:47 +00:00
Stanislav Shwartsman
d6bcfad065
Fixed lb/vb parsing
2006-10-18 18:23:18 +00:00
Alexander Krisak
59c4f3da68
Fixed compillation error under Windows when BX_DEBUGGER is 0
2006-10-11 14:54:40 +00:00
Volker Ruppert
0c827dcbf1
- implemented debugger access to SMRAM area
2006-10-02 17:40:20 +00:00
Stanislav Shwartsman
925ae93e22
Reveer back changes for debug.h removal from bochs.h
2006-09-26 19:16:10 +00:00
Stanislav Shwartsman
aab3feb2e0
Fixed Makefile to compile with ACPI stub disabled
...
Remove bx_debug.h from bochs.h to reduce compilation dependencies
2006-09-25 20:13:52 +00:00
Stanislav Shwartsman
3111909a64
Merged patch from Bochs-Developers mailing list.
...
Fixes bp handling.
2006-09-17 19:22:24 +00:00
Volker Ruppert
ec9c361e9c
- fixed handling of parameter "debug_running" for restart support
...
- wx: delete of "debugCommand" fixed
2006-09-17 07:12:50 +00:00
Stanislav Shwartsman
fdac9efa9b
Fixed ton of code duplication.
...
Do not save/restore XMM8-XMM15 not in 64-bit mode
2006-08-31 18:18:17 +00:00
Stanislav Shwartsman
5000ad2a55
Fixed compilation warning
2006-08-22 19:07:50 +00:00
Stanislav Shwartsman
5ade11bae4
Added exception debug print
2006-06-22 19:53:58 +00:00
Stanislav Shwartsman
6fd9b3107b
Fix descriptor printing format
2006-06-22 16:44:37 +00:00
Stanislav Shwartsman
070d782ec8
Move paddr_valid param of dbg_xlate_linear2phy method to return value.
...
This is much easier to use.
2006-06-17 12:09:55 +00:00
Stanislav Shwartsman
8ed8916ea9
Break to debugger on triple fault or panic (this time do it correctly)
...
Indent changes
2006-06-12 19:51:31 +00:00
Stanislav Shwartsman
49d7b4614f
Fixed another bug generator - duplication between descriptor type field and four descriptor cache bits
2006-06-12 16:58:27 +00:00
Stanislav Shwartsman
bfebb40326
Fixed bug report:
...
[ 1503978 ] movsb/w/d doesn't work when direction is stored
2006-06-11 18:03:45 +00:00
Stanislav Shwartsman
869f74b3ee
Reduce amount of dbg_get_cpu calls (I would like to remove this function) and use save/restore power in debugger
2006-06-11 16:40:37 +00:00
Stanislav Shwartsman
a4f1c8db33
Fix possible memory corruption in bx_debug
...
Fix 'examine' debugger command
Indent changes
2006-06-09 12:26:34 +00:00
Stanislav Shwartsman
594b8cce47
Fixed segfault with bochs debugger but reported today
2006-05-31 17:20:52 +00:00
Stanislav Shwartsman
34061a2f22
Enable show-param support in debugger.
...
Fixed print_tree function to correctly print 64-bit data
2006-05-30 19:46:31 +00:00
Stanislav Shwartsman
880f558989
Regenerate lexer.c
2006-05-29 22:43:26 +00:00
Stanislav Shwartsman
c5d3070a60
I once already did this change ... strange, how it could gone ...
...
Replace strtoul by strtoull to support 64-bit values
2006-05-29 19:56:29 +00:00
Stanislav Shwartsman
462e8c9447
Fix 'instrument stop' command
2006-05-21 16:48:05 +00:00
Stanislav Shwartsman
2889ed190c
Removed icount guard for debugger. Implement STEPN debugger command using CPU_LOOP method capabilities
2006-04-29 09:27:49 +00:00
Stanislav Shwartsman
1a0b7ee1e3
I want to replace debugger ICOUNT guard by existent cpu_loop funtionality, first step to do that ...
2006-04-29 07:12:13 +00:00
Stanislav Shwartsman
03a5c22a64
Fixed debugger help command
2006-03-24 21:01:44 +00:00
Stanislav Shwartsman
7ba6e5a2bb
Forgot to check-in main.cc
...
But anyway - this is more clear fix which also fixes code duplication
2006-03-08 20:10:29 +00:00
Stanislav Shwartsman
7b6c2587a9
Now devices could be compiled separatelly from CPU
...
Averything that required cpu.h include now has it explicitly and there are a lot of files not dependant by CPU at all which will compile a lot faster now ...
2006-03-06 22:03:16 +00:00
Volker Ruppert
0c573d15cf
- fixed compile error (missing typecast)
...
- fix for parameter objects without a parent list
- textconfig: logfile options moved to a submenu
- obsolete parameter init methods removed
2006-03-06 18:50:55 +00:00
Volker Ruppert
dd7e08de99
- remaining config options and special menus added to parameter tree
...
- parameter tree structure updated (TODO: should be moved to development.dbk)
- code cleanup: bx_options stuff and obsolete parameter access methods removed
- TODO: rewrite of shadow parameter stuff (for subtree "save_restore")
2006-03-05 10:24:29 +00:00
Stanislav Shwartsman
a6d2ccffba
Fixed typo
2006-02-27 06:14:42 +00:00
Volker Ruppert
a4f412d3e8
- boot and loader options rewritten to a parameter tree
...
- wx: ParamDialog method EnableParam can now handle new-style parameters
- saving of pcidev options fixed
2006-02-23 22:48:57 +00:00
Volker Ruppert
6311fface8
- pci options rewritten to a parameter tree
...
- proposed parameter tree updated
- pci presence flag stored in the memory code
2006-02-19 21:35:50 +00:00
Stanislav Shwartsman
024ce249bf
Define SMM mode for future implementation.
...
I would like all next commits be aware of SMM mode.
It can't be implemented right now (too many questions w/o answers) but it will be done till next major release definitelly.
2006-02-14 19:00:08 +00:00
Stanislav Shwartsman
3a420aacaa
First step in removing of bx_num_range, fixed parser.
...
Cleaned and improved 'info idt' 'info ivt' and 'info gdt' commands
2006-02-13 21:32:21 +00:00
Stanislav Shwartsman
d37f62d2b4
Support for 64-bit registers set reg = expr command
...
Print found guard cs_eip in more nice way, it was too mane leading zeroes in x86-64 mode ON
2006-02-13 18:28:14 +00:00
Stanislav Shwartsman
6e768f81d9
Split 'show int' option to 'show extint', 'show softint' and 'show iret', allow to toggle every option separatelly.
...
Command 'show int' still supported, meaning - all three together
2006-02-12 20:43:01 +00:00
Stanislav Shwartsman
2646484dc1
Fix 'show' command in Boch debugger.
...
Fully supported show-interrupts, show-mode and show-call options
Enable toggling of show options (bug report from SF)
2006-02-12 20:21:36 +00:00
Stanislav Shwartsman
bc30171d4a
Remove parenthesis around 'show command' arguments
...
Fixed in lexer and parser
2006-02-11 21:19:22 +00:00
Stanislav Shwartsman
e8ec9e854b
Remove redundant 0x from FMT_ADDRX macro for cygwin
...
Moved 'show "tab"' command to 'info' (use 'info tab' now)
Fixed printing of the command
2006-02-11 20:47:22 +00:00
Stanislav Shwartsman
ace3b9916a
Print branch target linear address for all in disasm when possible (i.e. cs.base and eip supplied)
2006-02-11 19:46:03 +00:00
Volker Ruppert
d7caed8655
- fixed compile error
2006-02-05 20:03:24 +00:00
Stanislav Shwartsman
5a65e1065e
Decoding functionality for Bochs disassembler.
...
Fixed 'step over' debugger command using bx_dbg_read_linear method.
Small debugger fix in cpu.cc
2006-02-05 19:48:29 +00:00
Stanislav Shwartsman
c7760750d3
Fixed SMP related debugging for some methods - hardcoded BX_CPU(0) instead of BX_CPU(dbg_cpu)
...
New debugger problem discovered - most of dbg linear memory acceses not aware on paging and possible page split !
Implemented new dbg method bx_dbg_read_linear (very similar to CPU access_linear) - every debugger method should use it to read any amount of memory based on linear address.
Implemented print_stack command for x86-64 support
2006-02-02 22:33:32 +00:00
Stanislav Shwartsman
6ca296de8b
Move --enable-reset-on-triple-fault option to runtime CPU::reste_on_triple-fault option in .bocshrc
...
Cleanup and optimize parser for debugger
2006-02-01 18:12:08 +00:00
Stanislav Shwartsman
1d4fa8b327
Available back ability to use eip register as source in 'set reg = <expr>' cmd.
...
Setting the eip register still not available (deliberatelly).
I don't want to enable it util I find some easy interface to do it.
I don't want to allow setting of part of RIP register using 'set eip=<expr>' and leave the upper part unchanged ....
Remove unused test registres from debugger
Fix compilation error in cpu.h
Change trace-on/trace-off commands. Make one 'trace' command with usage of 'trace on/trace off'
2006-01-31 19:45:34 +00:00
Stanislav Shwartsman
c7dd4185a7
Do not pass crc32 function as parameter to memory class - it is available as global function now
2006-01-28 16:16:03 +00:00