summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWen Congyang2012-05-07 06:07:48 +0200
committerLuiz Capitulino2012-06-04 18:49:34 +0200
commit9fecbed0c03ddad63c27f1622e2002fdfc2f45e4 (patch)
tree47c64db3c4b3932efe0ba3018f8fc38369502031 /configure
parentAdd API to get memory mapping without do paging (diff)
downloadqemu-9fecbed0c03ddad63c27f1622e2002fdfc2f45e4.tar.gz
qemu-9fecbed0c03ddad63c27f1622e2002fdfc2f45e4.tar.xz
qemu-9fecbed0c03ddad63c27f1622e2002fdfc2f45e4.zip
target-i386: Add API to write elf notes to core file
The core file contains register's value. These APIs write registers to core file, and them will be called in the following patch. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 20608c55e5..76dd57fc27 100755
--- a/configure
+++ b/configure
@@ -3748,6 +3748,10 @@ if test "$target_softmmu" = "yes" ; then
if test "$smartcard_nss" = "yes" ; then
echo "subdir-$target: subdir-libcacard" >> $config_host_mak
fi
+ case "$target_arch2" in
+ i386|x86_64)
+ echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak
+ esac
fi
if test "$target_user_only" = "yes" ; then
echo "CONFIG_USER_ONLY=y" >> $config_target_mak