Debugging Qemu binary on Win32
Hi!
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
Or how do I enable debug output for all components?
Background: Qemu.exe crashes here when doing an anti-virus file scan using the "Avira Rescue System" ISO. Or is the problem in using GCC 3.4.5?
Robert Riebisch
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
Quoted 2 lines · Robert Riebisch
Background: Qemu.exe crashes here when doing an anti-virus file scan using the "Avira Rescue System" ISO. Or is the problem in using GCC 3.4.5?
Using Gdb on the default Qemu.exe gave me function name bdrv_aio_rw_vector_cb(). Looking at this function in block.c I remembered Alex Ivanov's recent message
<http://lists.gnu.org/archive/html/qemu-devel/2009-02/msg01543.html>.
I tried it and guess what! The bug has been gone! This is reproducible!
Robert Riebisch
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
"Robert Riebisch" <[email protected]> wrote in message news:[email protected]...
Quoted 4 lines
Hi!
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
I've seen this problem with old mingw. GCC4 with all latest mingw libs compiles it with -O0.
Signature · 1 line
Alex.
Quoted 5 lines · Alex
Quoted 2 lines
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
I've seen this problem with old mingw. GCC4 with all latest mingw libs compiles it with -O0.
But there's no official MinGW GCC 4.
Robert Riebisch
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
Quoted 6 lines · Robert Riebisch
Quoted 3 lines · Alex
Quoted 3 lines
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
Quoted 7 lines
Quoted 2 lines
I've seen this problem with old mingw. GCC4 with all latest mingw libs compiles it with -O0.
But there's no official MinGW GCC 4.
Robert Riebisch
I'm using the one from tdragon.net and it's working great, so far...
Doug.
Hi,
Quoted 9 lines · Robert Riebisch
Quoted 5 lines · Alex
Quoted 2 lines
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
I've seen this problem with old mingw. GCC4 with all latest mingw libs compiles it with -O0.
But there's no official MinGW GCC 4.
Somebody pointed out the semi-official GCC4 for MinGW on the msysGit mailing list:
http://www.tdragon.net/recentgcc/
Apparently, a few MinGWsters use it.
Ciao,
Dscho
Signature · 5 lines
-- Alex. "Johannes Schindelin" <[email protected]> wrote in message news:[email protected]...
Quoted 17 lines
Hi,
Quoted 9 lines · Robert Riebisch
Quoted 5 lines · Alex
Quoted 2 lines
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
I've seen this problem with old mingw. GCC4 with all latest mingw libs compiles it with -O0.
But there's no official MinGW GCC 4.
Somebody pointed out the semi-official GCC4 for MinGW on the msysGit mailing list:
Quoted 8 lines
http://www.tdragon.net/recentgcc/
Apparently, a few MinGWsters use it.
Ciao,
Dscho
I use this:
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=241304&release_id=596917
Technically, it is still in alpha, but at least it works.
Quoted 6 lines · Robert Riebisch
Quoted 3 lines · Alex
Quoted 3 lines
How can I debug my Qemu SVN binary on Win32? When I remove flags "-O2" or "-fomit-frame-pointer" Qemu.exe doesn't build anymore. :-(
Quoted 8 lines
Quoted 3 lines
I've seen this problem with old mingw. GCC4 with all latest mingw libs compiles it with -O0.
But there's no official MinGW GCC 4.
Robert Riebisch
Debian's mingw32 (4.2.1.dfsg-1) contains i586-mingw32msvc-gcc 4.2.1. I use it to check Windows compilation without leaving my Linux environment.
Regards
Stefan Weil