Stanislav Shwartsman
a8068812df
add 'tlb' command to debugger to do TLB lookup
2013-01-14 17:02:07 +00:00
Stanislav Shwartsman
edf4ea4c74
fixed SF bug #1318 dbg: several issues with 'set' command
2012-11-06 20:01:02 +00:00
Volker Ruppert
a11e5713d7
- updated help texts
2012-04-24 17:48:38 +00:00
Stanislav Shwartsman
e1611e717e
Implemented feature request:
...
[3519794] debugger's ability to save physical/linear memory dumps
2012-04-24 11:01:59 +00:00
Volker Ruppert
f65c4e66b8
- debugger command 'info device': implemented support for additional arguments
...
- ne2k: replaced debugger command 'info ne2k' completely by a new version based
on 'info device' with additional arguments and removed all of the now obsolete
stuff (ne2k device stub, macro for print_info())
- pci: added option 'dump=full' for the debugger command 'info device' to show
the whole PCI config space
- TODO: some other devices could have support for additional options in
debug_dump()
2012-04-23 17:06:19 +00:00
Volker Ruppert
086266d033
- implemented new debugger command 'info device [string]' that shows the state
...
of the device specified in 'string'. Added register mechanism and chained
list to store the device name and pointer. Replace hardcoded debug info
implementations for pic, pci and vga by the new one.
- TODO #1 : improve existing debug_dump() output and add more devices
- TODO #2 : add support for additional arguments and replace the NE2k print_info()
2012-03-10 17:14:07 +00:00
Stanislav Shwartsman
56ff41bcd5
removed unused token from internal debugger command line parser
2012-01-24 21:42:04 +00:00
Stanislav Shwartsman
b16d71175d
Fixed 'show off' command in internal debugger
...
Removed not working record/playback obsolete commands from internal debugger
2011-10-09 19:26:30 +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
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
64a30a15fa
Adding Id and Rev property to all files
2011-02-25 20:16:02 +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
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
d779842da3
added ability to modify sregs from bochs debugger
2009-12-27 16:38:09 +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
c4b9af631b
bugfix - gcc4 warning showed it :(
2009-11-12 21:06:41 +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
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
e912b328c2
enhances to gui debugger and integrated debugger
2009-08-07 08:26:41 +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
0e66403a25
Change watchpoints to be more flexible - and more similar to 2.3.7
2008-10-08 17:13:35 +00:00
Stanislav Shwartsman
cc17a7006a
Allow using of expressions for page command
2008-09-12 21:03:56 +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
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
bdaef81603
Added debugger memory trace functionality. Enable by 'trace-mem on' command
2008-04-19 13:21:23 +00:00
Stanislav Shwartsman
46e7ca44dc
dded patch with symbols support in bochs-debugger
2008-03-29 21:32:18 +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
e9801ef501
Support for restore cpu (and any other device from bochs root) from debugger
2007-10-14 19:04:51 +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
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
e410fa4a5a
Small optimization for debugger parser - avoid using of non-safe "numeric range" param
2006-10-21 21:28:20 +00:00
Stanislav Shwartsman
3329fb32ec
Fixed lb/vb commands
2006-10-18 20:07:47 +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
462e8c9447
Fix 'instrument stop' command
2006-05-21 16:48:05 +00:00
Stanislav Shwartsman
03a5c22a64
Fixed debugger help command
2006-03-24 21:01:44 +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
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
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
37eb82c69c
Totally remove the cosimulation code from Bochs.
...
The Bochs anyway even doesn't compile if cosimulation configured enabled.
But in the same time the cosimulation code only disturbs to the future development of Bochs debugger, for example adding x86-64 functionality ...
For those of you who still may want to see the cosimulation code inside I put it in patch and upload it Bochs CVS patches folder. Read comments for the patch ! ----------------------------------------------------------------------
2006-01-25 22:20:00 +00:00
Stanislav Shwartsman
83b4f7ba05
1. remove the ability of using regnames as symbols !
...
'set $eax = <value>' is stupid when you could do expr like 'set eax = ebx + 4'
2. cleanup and optimize Bochs debugger parsing, fixed several memory leaks
2006-01-25 18:13:44 +00:00