On Thu, Dec 07, 2000 at 02:58:36PM -0500, Dave Turner wrote:
> James Mastros wrote:
> > Is there anything else that I should be saving?
>
> Registers. MMX state [has an EMMS been issued since the last MMX
> instruction?].
The registers are in the guest_cpu_t structure, which is saved. Where is
the MMX state? For that matter, whre are the mmx/fpu regs? Do we emulate
the FPU/MMX at all, or is that handled natively? Time for me to look at the
kernel task-change code...
What I'm really wondering about is the bochs plugins. Depending on where I
freeze, I either get a panic "::sbe:monitor code!" (with accompning register
dump), or nothing happens, or an error writing to port 376, default case on
0xff (can't recall exact message, and can't seem to find it now).
Would there be any large advantage in saving in an extened ELF corefile
format? Would it outweigh the difficulty of doing so? That should let us
do postmortem debugging in a real debugger... but gdb can't handle
everything we want it to anyway.
Code and logs available if anybody wants them, but it isn't useable yet.
-=- James Mastros
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU>CS d->-- s-:- a20 C++ UL+++@ P+++>+++++ L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e>++ h! r- y?
------END GEEK CODE BLOCK------