On 2011-11-2 20:09, Pau Garcia i Quiles wrote:
> Hi,
> 
> Ruben, do you know why gdb seems to be slow at the start of session?
> It seems to be the only thing preventing Qt and Qt Creator from
> adopting mingw-w64 as the official gcc toolchain on Windows and
> supporting x64.
> 
> Thank you
> 
> 
> ---------- Forwarded message ----------
> From: andy fillebrown 
> <[email protected]>
> Date: Wed, Nov 2, 2011 at 1:01 PM
> Subject: Re: [Qt-creator] [Development] mingw x64
> To: Yves Bailly <[email protected]>
> Cc: [email protected]
> 
> 
> Howdy,
> 
> FWIW, Qt and Qt Creator both built out of the box using Ruben's mingw
> w64 4.6.3 build, and the python based debugging helpers all seems to
> be working when debugging in Qt Creator, which is great!
> 
> Gdb takes a long time to set breakpoints at the start of a session,
> though.  I've seen this with other versions of mingw/gdb, too, so it's
> probably not a mingw w64 specific problem, but it keeps me from using
> mingw w64 as my main toolchain on Windows.  For now I'm sticking with
> the mingw toolchain from the Qt sdk.
> 
> Cheers,
> ~ andy.f
> 
> 
> 
> On Wed, Nov 2, 2011 at 3:15 AM, Yves Bailly 
> <[email protected]> wrote:
>> Le 29/10/2011 14:14, Pau Garcia i Quiles a écrit :
>>> Another benefit of mingw-w64 is large file support via
>>> _FILE_OFFSET_BITS=64, which makes very easy to support cross-platform
>>> applications that deal with>  2 GB files. No other MinGW flavor
>>> supports that, AFAIK.
>>>
>>
>> Let me second that, adding the fact that some of us "poor" developers
>> for desktop sometime need to handle more than 4GB of RAM... not everyone
>> is writing small-mobile-embeded apps ;-)
>>
>> Support for mingw-x64 is a long lasting and real need. About gdb working
>> or not, for my own case it doesn't matter much.
>>
>> Regards,
>>
>> --
>>      /- Yves Bailly - Software developper  -\
>>      \- Sescoi R&D  - http://www.sescoi.fr -/
>> "The possible is done. The impossible is being done. For miracles,
>> thanks to allow a little delay."
>> _______________________________________________
>> Qt-creator mailing list
>> [email protected]
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
Hi, I always meet the gdb slow start session problem, but have you ever
try this patch:

http://sourceware.org/ml/gdb-patches/2011-11/msg00141.html

It looks like the comparison of files takes a lot of time if your app
has many dll loading on the start up session.

A related topic can be found here:
Re: configure file to debug codecompletion plugin
http://forums.codeblocks.org/index.php/topic,12951.msg87332.html#msg87332

Also, you can try my build gdb.exe, see:
[OT] unofficial MinGW GDB gdb with python released -
http://forums.codeblocks.org/index.php/topic,11301.msg77000.html#msg77000


asmwarrior
ollydbg from codeblocks' forum



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to