Commit Graph

5538 Commits

Author SHA1 Message Date
Stanislav Shwartsman
9a15f59e05 Fixed bug in SYSRET legacy mode 2006-02-02 17:55:48 +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
Volker Ruppert
0186b3fdd1 - fixed user.dbk compilation file (missing section header added) 2006-02-01 17:20:04 +00:00
Stanislav Shwartsman
b8984e7b1d Commit an assertion to pc_system_c constructor - check that no timers defined whne the construction is called. This is done to prevent the bug like critical APIC timer bug added in 2.2.5 and fixed in 2.2.6 release. 2006-01-31 20:43:24 +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
Volker Ruppert
7646a3ecbd - siminterface now uses the new value BX_LOG_NOTIFY_FAILED in case of failure
(no notify handler registered). The ask() function doesn't set the variable
  bx_user_quit to 1 in that case. This prevents win32 from closing the console
  window immediately in case of a bochsrc error.
2006-01-31 19:37:56 +00:00
Stanislav Shwartsman
24d4de03a1 - Fixed bug with missed ES segment override prefix
- Correctly disassemble x86-64 opcodes

	Ia_cvttsd2si_Gq_Wsd
	Ia_cvttss2si_Gq_Wss
	Ia_cvtsd2si_Gq_Wsd
	Ia_cvtss2si_Gq_Wss
	Ia_movq_Pq_Eq
	Ia_movq_Vdq_Eq
	Ia_movq_Eq_Pq
	Ia_movq_Eq_Vq

- Correctly disassemble Intel SSE3 opcodes (not supported by Bochs)
	Ia_monitor
	Ia_mwait
2006-01-31 17:42:31 +00:00
Stanislav Shwartsman
24c27deae8 Recognize XF exception (0x13) when SSE is enabled 2006-01-31 17:41:08 +00:00
Volker Ruppert
48c07d08b0 - some more updates after releasing Bochs 2.2.6 2006-01-30 18:17:45 +00:00
Stanislav Shwartsman
934f552ea3 Fix disassembly 2006-01-30 17:39:17 +00:00
Stanislav Shwartsman
7f52ced334 Small update of user docs 2006-01-29 21:02:55 +00:00
Volker Ruppert
61a02576b6 - updates after Bochs 2.2.6 release 2006-01-29 19:57:55 +00:00
Stanislav Shwartsman
765951b1a5 Fix problem in FLDENV/FSTENV instructions 2006-01-29 17:37:23 +00:00
Volker Ruppert
1fca3684bf - regenerated for 2.2.6 release 2006-01-29 08:50:03 +00:00
Volker Ruppert
5ddfdbc068 - updates for 2.2.6 release 2006-01-29 08:48:50 +00:00
Volker Ruppert
5365914e00 - updated win32 installer section and list of files
- added latest release tags
- mention the improved show-ips feature
2006-01-29 08:44:12 +00:00
Stanislav Shwartsman
356cb066d4 Reverting back last commit from Kevin.
Both Intel and AMD docs say that fldenv should fault on pending exceptions.
(#MF If an unmasked x87 floating-point exception was pending)
2006-01-28 21:31:20 +00:00
Kevin Lawton
2b45a94893 fldenv does not fault on pending exceptions. Reversed the order of
the checks.
2006-01-28 20:52:08 +00:00
Volker Ruppert
28e36a2671 - the CR start bit has no meaning in the PCI version
- set CR TXP bit during transmit operation
- improved various debug and error messages
2006-01-28 20:18:18 +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
Stanislav Shwartsman
a0345031cf forgot to remove '0x' from FMT_ADDRX fro mingw
fix dump_table function to use CPU paging translation method instead of old debugger method which not supported PAE and other paging features
2006-01-28 15:10:33 +00:00
Stanislav Shwartsman
cb58d08c11 Fix MSVC warning 2006-01-28 14:48:40 +00:00
Volker Ruppert
b1a1660494 - changes updated and sorted by priority (bugfixes, improvements, documentation) 2006-01-28 12:45:51 +00:00
Volker Ruppert
1e0467c8ff - Cirrus SVGA detection fixed on OS/2 guest (from SF patch #1400358) 2006-01-28 10:28:25 +00:00
Volker Ruppert
621a212e5a - gcc 4.0 warning fixed 2006-01-28 08:52:16 +00:00
Stanislav Shwartsman
5c95708deb Update CHANGES, added recent configure script modifications 2006-01-27 21:58:41 +00:00
Stanislav Shwartsman
95a392eddc Enable VME by default for Pentium+ CPU 2006-01-27 21:45:50 +00:00
Stanislav Shwartsman
7974f9135d Remove '0x' from address printf format 2006-01-27 21:35:45 +00:00
Stanislav Shwartsman
067f23e3da Fix set 'ah,bh,ch,dh' registers from debugger
Enable disasm by default - in adds some useful information to debug messages in log file
Remove defines for 8bit registers from cpu.h, the x86 arch defines not match defines used by set_reg and get_reg methods.
2006-01-27 19:50:00 +00:00
Volker Ruppert
4ecd8eae70 - show IPS value in a separate field in the status bar (initial patch by sshwarts) 2006-01-27 18:04:49 +00:00
Volker Ruppert
d87085d55c - Bochs with SDL on win32 now works with BX_SHOW_IPS enabled (FIXME: window resize
forces all status bar leds to enabled
2006-01-26 22:13:20 +00:00
Stanislav Shwartsman
8533f49a20 More update debugger docs according to its functionality
Remove old IPS measurements taken on very old Bochs version and CPU,
keep only 4 examples for IPS
2006-01-25 22:46:10 +00:00
Stanislav Shwartsman
3d38243dc0 Update patch comments 2006-01-25 22:30:07 +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
aa6874cb6e Put playback functions together, indent changes 2006-01-25 21:38:31 +00:00
Volker Ruppert
500f2b65b9 - improved warnings for deprecated bochsrc options
- updated documentation after adding the ips parameter to the cpu option
- fixed special character (ampersand) in debugger documentation
2006-01-25 20:07:36 +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
Volker Ruppert
458e128240 - PCI BIOS: improved error message for function 'find PCI device' 2006-01-25 17:53:37 +00:00
Volker Ruppert
8de434138d - gui tooltip support added (currently used by win32 gui only)
- win32 gui overrides default mouse tooltip setting depending on the configuration
2006-01-25 17:37:22 +00:00
Stanislav Shwartsman
603f4a26e3 Update CHANGES 2006-01-24 22:09:35 +00:00
Stanislav Shwartsman
5017f52b22 Try to update bochs debugger docs - new features and functionality changes 2006-01-24 22:00:07 +00:00
Stanislav Shwartsman
d257f548b9 1. implemented 'set register <name>=<expr>' command, old style 'registers <name>=<exp> command' removed, now 'r|reg|regs|registers' command shows CPU registers contents (same as 'info cpu')
2. new command 'u|disasm|disassemble mode-switch' - switch between Intel and AT&T disasm syntax

3. new command 'u|disasm|disassemble size=n' should be used instead of old 'set $disassembler_size=n'

4. 'h' is a new alias for 'help' command
2006-01-24 21:37:37 +00:00
Stanislav Shwartsman
557c15699f New function - toggle syntax mode 2006-01-24 21:34:39 +00:00
Stanislav Shwartsman
a25be6faaa Fix indent, update bx_dbg_info_flags method 2006-01-24 19:23:42 +00:00
Stanislav Shwartsman
f9cad8d272 Remove debug printf 2006-01-24 19:07:45 +00:00
Stanislav Shwartsman
18afa9fd2d This is cumulative patch for bochs debugger, it is only very first step towards working debugger supporting all new simulator functionalitieS.
- move crc.cc from debugger to bochs folder and make it projct-wide and not local for debugger
 - added new 'info sse' command for debugger
 - extend 'modebp' command to break on any mode change
 - remove unimplemened 'info program' function, it is always printed fixed text
 - move debugger help to parser, cleanup and simplify it
2006-01-24 19:03:55 +00:00
Stanislav Shwartsman
f27d342968 Removed unused linux.h file
Indent changes for linux.cc
2006-01-24 18:21:22 +00:00
Stanislav Shwartsman
99a1f0838a FIx opcode table 2006-01-24 18:15:55 +00:00
Volker Ruppert
01367548ca - show win32 mouse message for min. 2 seconds when BX_SHOW_IPS is enabled 2006-01-23 21:53:57 +00:00
Stanislav Shwartsman
21352e50a9 Fix some bugs in debugger parser, cleanup
Add some debugger functionality
2006-01-23 21:44:44 +00:00