Original Windows version Qemu2.5.1.1 (with PDB debug file)

Source: Internet
Author: User

This document provides release and debug two versions of the Qemu2.5.1.1 binaries, generated by clang with Microsoft CodeGen (CLANGC2), to provide PDB debug files for easy debugging of the source code of QEMU.

Use MSYS2 to generate config-host.h and other configuration file dynamic file, and then compile with CLANGC2, use the configuration command as follows, so some features are not.
.. /qemu-2.5.1.1/configure--prefix= ' pwd '/installdir--target-list=x86_64-softmmu--with-system-pixman--disable-user --disable-linux-user--disable-bsd-user--disable-guest-agent--disable-guest-agent-msi--disable-pie-- Disable-modules--disable-sparse--disable-gnutls--disable-nettle--disable-gcrypt--disable-gtk--disable-vte-- Disable-curses--disable-vnc--DISABLE-VNC-SASL--disable-vnc-jpeg--disable-vnc-png--disable-cocoa-- Disable-virtfs--disable-xen--disable-xen-pci-passthrough--disable-brlapi--disable-curl--DISABLE-FDT-- Disable-bluez--DISABLE-KVM--disable-rdma--disable-uuid--disable-vde--disable-netmap--disable-linux-aio-- Disable-cap-ng--disable-attr--disable-vhost-net--disable-spice--disable-rbd--disable-libiscsi--disable-libnfs- -disable-smartcard--disable-libusb--disable-usb-redir--disable-lzo--disable-snappy--disable-bzip2-- Disable-seccomp--disable-coroutine-pool--disable-glusterfs--disable-archipelago--disable-tpm--disable-libssh2- -disabLE-VHDX--disable-numa--disable-tcmalloc--disable-jemalloc--enable-sdl--with-sdlabi=1.2

Linux test Files (http://wiki.qemu.org/download/linux-0.2.img.bz2) available on the QEMU website can be run
Qemu-system-x86_64.exe d:\temp\linux-0.2.img

Can run the OVMF of the UEFI,EDK2 band
Qemu-system-x86_64.exe-bios D:\temp\OVMF.release-hda D:\temp\myefihd.vdi

Debug version compile time Hw\ide\atapi.c file compiled however, so with the release of the Atapi.obj, the final debug version of the runtime may crash.

Debug version has the corresponding PDB debug file, to the original Qemu2.5.1.1 source code in the attachment to the patch and placed in the E:\readsrc\qemu\2.5.1.1\qemu-2.5.1.1-clangc2\ directory, The source code can be found automatically when debugging WinDbg.

With Pdbproject (https://visualstudiogallery.msdn.microsoft.com/6ad3d6a9-88e7-4610-9624-86ccbda4534b), you can generate VS projects from PDB files, which is handy for viewing code with VS. If Pdbproject fails, use the DBH tool with WinDbg to open the PDB, use the SRC command to display all the source code, add the required source files to the VS project, and set the header file path in the project properties.

Accessories: qemu-2.5.1.1-clangc2.7z
Sha1:ba24a22c6e59e730db2df691a3562ef1538838f7

Original Windows version Qemu2.5.1.1 (with PDB debug file)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.