Commit Graph

143 Commits

Author SHA1 Message Date
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