* [Qemu-devel] Debugging Qemu binary on Win32
@ 2009-02-28 21:03 Robert Riebisch
2009-02-28 21:46 ` Robert Riebisch
2009-02-28 23:25 ` [Qemu-devel] " Alex
0 siblings, 2 replies; 8+ messages in thread
From: Robert Riebisch @ 2009-02-28 21:03 UTC (permalink / raw)
To: qemu-devel
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
--
BTTR Software
http://www.bttr-software.de/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Debugging Qemu binary on Win32
2009-02-28 21:03 [Qemu-devel] Debugging Qemu binary on Win32 Robert Riebisch
@ 2009-02-28 21:46 ` Robert Riebisch
2009-02-28 23:25 ` [Qemu-devel] " Alex
1 sibling, 0 replies; 8+ messages in thread
From: Robert Riebisch @ 2009-02-28 21:46 UTC (permalink / raw)
To: qemu-devel
Robert Riebisch wrote:
> 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
--
BTTR Software
http://www.bttr-software.de/
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] Re: Debugging Qemu binary on Win32
2009-02-28 21:03 [Qemu-devel] Debugging Qemu binary on Win32 Robert Riebisch
2009-02-28 21:46 ` Robert Riebisch
@ 2009-02-28 23:25 ` Alex
2009-03-01 20:47 ` Robert Riebisch
1 sibling, 1 reply; 8+ messages in thread
From: Alex @ 2009-02-28 23:25 UTC (permalink / raw)
To: qemu-devel
"Robert Riebisch" <rr@bttr-software.de> wrote in message
news:49A9A69F.6000309@bttr-software.de...
> 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.
--
Alex.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Re: Debugging Qemu binary on Win32
2009-02-28 23:25 ` [Qemu-devel] " Alex
@ 2009-03-01 20:47 ` Robert Riebisch
2009-03-01 21:10 ` Doug Schaefer
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Robert Riebisch @ 2009-03-01 20:47 UTC (permalink / raw)
To: qemu-devel
Alex wrote:
>> 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
--
BTTR Software
http://www.bttr-software.de/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [Qemu-devel] Re: Debugging Qemu binary on Win32
2009-03-01 20:47 ` Robert Riebisch
@ 2009-03-01 21:10 ` Doug Schaefer
2009-03-01 21:24 ` Johannes Schindelin
2009-03-02 9:09 ` [Qemu-devel] " Stefan Weil
2 siblings, 0 replies; 8+ messages in thread
From: Doug Schaefer @ 2009-03-01 21:10 UTC (permalink / raw)
To: qemu-devel
Robert Riebisch wrote:
> Alex wrote:
>
>
>>> 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
>
I'm using the one from tdragon.net and it's working great, so far...
Doug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Re: Debugging Qemu binary on Win32
2009-03-01 20:47 ` Robert Riebisch
2009-03-01 21:10 ` Doug Schaefer
@ 2009-03-01 21:24 ` Johannes Schindelin
2009-03-02 4:49 ` [Qemu-devel] " Alex
2009-03-02 9:09 ` [Qemu-devel] " Stefan Weil
2 siblings, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2009-03-01 21:24 UTC (permalink / raw)
To: Robert Riebisch; +Cc: qemu-devel
Hi,
On Sun, 1 Mar 2009, Robert Riebisch wrote:
> Alex wrote:
>
> >> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Re: Debugging Qemu binary on Win32
2009-03-01 20:47 ` Robert Riebisch
2009-03-01 21:10 ` Doug Schaefer
2009-03-01 21:24 ` Johannes Schindelin
@ 2009-03-02 9:09 ` Stefan Weil
2 siblings, 0 replies; 8+ messages in thread
From: Stefan Weil @ 2009-03-02 9:09 UTC (permalink / raw)
To: qemu-devel
Robert Riebisch schrieb:
> Alex wrote:
>
>
>>> 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
>
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-03-02 9:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-28 21:03 [Qemu-devel] Debugging Qemu binary on Win32 Robert Riebisch
2009-02-28 21:46 ` Robert Riebisch
2009-02-28 23:25 ` [Qemu-devel] " Alex
2009-03-01 20:47 ` Robert Riebisch
2009-03-01 21:10 ` Doug Schaefer
2009-03-01 21:24 ` Johannes Schindelin
2009-03-02 4:49 ` [Qemu-devel] " Alex
2009-03-02 9:09 ` [Qemu-devel] " Stefan Weil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).