On Fri, Jul 20, 2012 at 6:30 PM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
On Fri, Jul 20, 2012 at 9:10 AM, Eran Ifrah wrote:
> Hello,
> I am not sure whether this issue is related to MinGW or to GDB.
> Since I don't have this issue on Linux / Mac and it only happens on Windows
> 7 + MinGW, I decided to post it here - maybe someone else on this list face
> this issue
> in the past and can shed some light / provide some good tips on the matter.
> Now to the actual problem:
> When I debug my application which consists of many shared libraries ("dll"s,
> around 35 - 40) and I have a breakpoint set in one of the shared libraries
> the startup time of gdb is *very* slow ( I am talking here about 10 mins ).
> If I remove all the breakpoints and start the debugger, the debug session
> starts in a reasonable manner (still very slow compare to Linux) ~45
> seconds.
> I can then place the breakpoints back and continue debugging.
> However, the above workaround does not work if I need to debug one of the
> shared libraries initialization code
> Some info about my environment:
> MinGW 4.6.1 (TDM) 32 bit - I tried the official one 4.7 from MinGW with no
> luck - the problem persists
> GDB 7.05 (note that I tried all versions of gdbs available on MinGW SF
> download page, from 6.8.5 -> 7.4 with no luck)
> Windows 7 64bit
> For comparison: GDB 7.4 on my Ubuntu 12.04 starts the debugging session
> under 5 seconds for the same application
> Any advise?

I'll utter guesses since at this point I have no real idea.  I'm going
to guess you might have better experience if your GDB process is a
64bit process assuming your Windows 7 is a 64 bit CPU.

Thank you, I will try and get my hands on a 64bit gdb executable and will try it again

-- https://sites.google.com/site/earnieboyd

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe

Eran Ifrah
Author of the cross platform, open source C++ IDE: http://www.codelite.org