summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2012-05-07 12:07:48 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2012-06-04 13:49:34 -0300
commit9fecbed0c03ddad63c27f1622e2002fdfc2f45e4 (patch)
tree47c64db3c4b3932efe0ba3018f8fc38369502031 /configure
parent2b05ab5229f880720ab6ca0e52577089889c10f9 (diff)
downloadqemu-9fecbed0c03ddad63c27f1622e2002fdfc2f45e4.tar.gz
qemu-9fecbed0c03ddad63c27f1622e2002fdfc2f45e4.tar.bz2
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