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