Re: [Qemu-devel] [PATCH 1/1] target-i386: fix crash on x86 32bit linux host with hw breakpoint exceptions

2010-02-28 Thread Aurelien Jarno
On Tue, Jan 26, 2010 at 04:29:50PM -0600, Jason Wessel wrote: > If you make use of hw breakpoints on a 32bit x86 linux host, qemu > will segmentation fault when processing the exception. > > The problem is that the value of env is stored in $ebp in the op_helper > raise_exception() function, and i

[Qemu-devel] [PATCH 1/1] target-i386: fix crash on x86 32bit linux host with hw breakpoint exceptions

2010-01-26 Thread Jason Wessel
If you make use of hw breakpoints on a 32bit x86 linux host, qemu will segmentation fault when processing the exception. The problem is that the value of env is stored in $ebp in the op_helper raise_exception() function, and it can have the wrong value when calling it from non generated code. It