提交 ffa6564c 编写于 作者: P Peter Maydell

Merge remote-tracking branch 'remotes/weil/tags/pull-wxx-20160322' into staging

wxx patch queue

# gpg: Signature made Tue 22 Mar 2016 18:18:36 GMT using RSA key ID 677450AD
# gpg: Good signature from "Stefan Weil <sw@weilnetz.de>"
# gpg:                 aka "Stefan Weil <stefan.weil@weilnetz.de>"
# gpg:                 aka "Stefan Weil <stefan.weil@bib.uni-mannheim.de>"
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4923 6FEA 75C9 5D69 8EC2  B78A E08C 21D5 6774 50AD

* remotes/weil/tags/pull-wxx-20160322:
  wxx: Add support for ncurses
  Remove unneeded include statements for setjmp.h
  Include setjmp.h in qemu/osdep.h (bug fix for w64)
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
...@@ -2836,7 +2836,7 @@ fi ...@@ -2836,7 +2836,7 @@ fi
# curses probe # curses probe
if test "$curses" != "no" ; then if test "$curses" != "no" ; then
if test "$mingw32" = "yes" ; then if test "$mingw32" = "yes" ; then
curses_list="-lpdcurses" curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lpdcurses"
else else
curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses" curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses"
fi fi
......
...@@ -153,8 +153,6 @@ ...@@ -153,8 +153,6 @@
/* opcodes/i386-dis.c r1.126 */ /* opcodes/i386-dis.c r1.126 */
#include "qemu-common.h" #include "qemu-common.h"
#include <setjmp.h>
static int fetch_data2(struct disassemble_info *, bfd_byte *); static int fetch_data2(struct disassemble_info *, bfd_byte *);
static int fetch_data(struct disassemble_info *, bfd_byte *); static int fetch_data(struct disassemble_info *, bfd_byte *);
static void ckprefix (void); static void ckprefix (void);
......
...@@ -615,8 +615,6 @@ static const char *const reg_half_names[] = ...@@ -615,8 +615,6 @@ static const char *const reg_half_names[] =
/* Maximum length of an instruction. */ /* Maximum length of an instruction. */
#define MAXLEN 22 #define MAXLEN 22
#include <setjmp.h>
struct private struct private
{ {
/* Points to first byte not fetched. */ /* Points to first byte not fetched. */
......
...@@ -76,6 +76,9 @@ extern int daemon(int, int); ...@@ -76,6 +76,9 @@ extern int daemon(int, int);
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <assert.h> #include <assert.h>
/* setjmp must be declared before sysemu/os-win32.h
* because it is redefined there. */
#include <setjmp.h>
#include <signal.h> #include <signal.h>
#ifdef __OpenBSD__ #ifdef __OpenBSD__
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef QEMU_CPU_H #ifndef QEMU_CPU_H
#define QEMU_CPU_H #define QEMU_CPU_H
#include <setjmp.h>
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "disas/bfd.h" #include "disas/bfd.h"
#include "exec/hwaddr.h" #include "exec/hwaddr.h"
......
...@@ -140,7 +140,7 @@ for f in "$@"; do ...@@ -140,7 +140,7 @@ for f in "$@"; do
perl -n -i -e 'print if !/\s*#\s*include\s*(["<][^>"]*[">])/ || perl -n -i -e 'print if !/\s*#\s*include\s*(["<][^>"]*[">])/ ||
! (grep { $_ eq $1 } qw ( ! (grep { $_ eq $1 } qw (
"config-host.h" "qemu/compiler.h" "config.h" "config-host.h" "qemu/compiler.h" "config.h"
<stdarg.h> <stddef.h> <stdbool.h> <stdint.h> <sys/types.h> <setjmp.h> <stdarg.h> <stddef.h> <stdbool.h> <stdint.h> <sys/types.h>
<stdlib.h> <stdio.h> <string.h> <strings.h> <inttypes.h> <stdlib.h> <stdio.h> <string.h> <strings.h> <inttypes.h>
<limits.h> <unistd.h> <time.h> <ctype.h> <errno.h> <fcntl.h> <limits.h> <unistd.h> <time.h> <ctype.h> <errno.h> <fcntl.h>
<sys/stat.h> <sys/time.h> <assert.h> <signal.h> <sys/stat.h> <sys/time.h> <assert.h> <signal.h>
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#undef _FORTIFY_SOURCE #undef _FORTIFY_SOURCE
#endif #endif
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <setjmp.h>
#include <pthread.h> #include <pthread.h>
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/coroutine_int.h" #include "qemu/coroutine_int.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#undef _FORTIFY_SOURCE #undef _FORTIFY_SOURCE
#endif #endif
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <setjmp.h>
#include <ucontext.h> #include <ucontext.h>
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/coroutine_int.h" #include "qemu/coroutine_int.h"
......
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
#include "qemu/sockets.h" #include "qemu/sockets.h"
#include <sys/mman.h> #include <sys/mman.h>
#include <libgen.h> #include <libgen.h>
#include <setjmp.h>
#include <sys/signal.h> #include <sys/signal.h>
#ifdef CONFIG_LINUX #ifdef CONFIG_LINUX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册