qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] QEMU 2.4 for Windows - current status


From: Stefan Weil
Subject: Re: [Qemu-devel] QEMU 2.4 for Windows - current status
Date: Wed, 05 Aug 2015 17:38:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

Am 05.08.2015 um 14:49 schrieb Paolo Bonzini:
On 05/08/2015 13:03, Stefan Weil wrote:
Fix sigsetjmp for w64
http://repo.or.cz/w/qemu/ar7.git/commit/8fa9c07c9a33174905e67589bea6be3e278712cb
Does this work too?

diff --git a/cpu-exec.c b/cpu-exec.c
index 75694f3..d882b89 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -17,6 +17,7 @@
   * License along with this library; if not, see 
<http://www.gnu.org/licenses/>.
   */
  #include "config.h"
+#include "qemu-common.h"
  #include "cpu.h"
  #include "trace.h"
  #include "disas/disas.h"

No, that still gets the wrong definition for setjmp from
/usr/share/mingw-w64/include/setjmp.h.

For the future, I'd prefer a solution which restricts the special
handling of sigsetjmp to those locations where it is needed.
As far as I see, only cpu-exec.c uses sigsetjmp for returns
from generated code.

Maybe we can also add support for stack unwinding to the
generated code, so no special hack for w64 will be needed
anymore.

Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]