|
From: Tom H. <to...@co...> - 2009-08-12 14:29:54
|
On 12/08/09 07:17, Paul Pluzhnikov wrote:
> Is there any reason to overwrite the %{c,d,..}s registers instead of
> keeping them at whatever values they currently have?
To answer this question, the obvious issue is that we're supposed to be
setting up the new process to match the guest state - what you're doing
is assuming that guest segment registers have the same values as the
host segment registers.
That's probably largely true, but I suspect may not be for FS/GS in all
cases?
Our whole debugger integration scheme is pretty rubbish and fragile
anyway and should probably be redone as a gdb debugger stub or something
so I'm reluctant to spend too much effort on it.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|