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