[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] windows qemu can't be debuged
From: |
tim3385 |
Subject: |
[Qemu-devel] windows qemu can't be debuged |
Date: |
Wed, 19 Jul 2017 07:03:01 +0800 |
Hello, all:
I have compiled qemu in cygwin with mingw according to the qemu wiki. When I
debug it with GDB, I get the error below:
.........
Type "apropos word" to search for commands related to "word"...
Reading symbols from qemu-system-x86_64.exe...done.
(gdb) r -cdrom /t.iso -boot d -display sdl
Starting program:
/cygdrive/c/emulator/mqemu/bin/debug/i686-w64-mingw32/x86_64-softmmu/qemu-system-x86_64.exe
-cdrom /t.iso -boot d -display sdl
[New Thread 11372.0x26c8]
warning: `/cygdrive/c/windows/SYSTEM32/ntdll.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/windows/System32/wow64.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/windows/System32/wow64win.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
warning: `/cygdrive/c/windows/System32/wow64cpu.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
[New Thread 11372.0x4110]
[New Thread 11372.0x1b84]
[New Thread 11372.0x1064]
[Thread 11372.0x1064 exited with code 3221225781]
[Thread 11372.0x1b84 exited with code 3221225781]
[Inferior 1 (process 11372) exited with code 030000000465]
Somebody can help me? thanks.
ps. My build shell script is:
PWD="/emulator/qemu-2.9.0"
# Don't build in the QEMU source directory. Using a subdirectory is better.
# Here is an example of a debug build.
SRC_PATH=$PWD
BUILD_DIR="$PWD/bin/debug/i686-w64-mingw32"
mkdir -p $BUILD_DIR
cd $BUILD_DIR
echo -n "s1) Build folder has been created. Enter "
pwd
CMD="$SRC_PATH/configure \
--enable-debug \
--cross-prefix=i686-w64-mingw32- \
--host-cc=i686-w64-mingw32-gcc \
--enable-trace-backend=simple \
"
echo -e "s2) $CMD\n......"
$CMD
echo "s3) Make......"
make
best
Dong Hao
Sent from YoMail for Gmail
- [Qemu-devel] [PULL for-2.0 0/7] please pull xen-20170718-tag, Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 1/7] hw/xen: Set emu_mask for igd_opregion register, Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 4/7] xen: move physmap saving into a separate function, Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 2/7] xen_pt_msi.c: Check for xen_host_pci_get_* failures in xen_pt_msix_init(), Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 5/7] xen/mapcache: add an ability to create dummy mappings, Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 3/7] xen-platform: separate unplugging of NVMe disks, Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 6/7] xen/mapcache: introduce xen_replace_cache_entry(), Stefano Stabellini, 2017/07/18
- [Qemu-devel] [PULL for-2.10 7/7] xen: don't use xenstore to save/restore physmap anymore, Stefano Stabellini, 2017/07/18