This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/9831] very slow loading of symbols under mi2 & core dumps


http://sourceware.org/bugzilla/show_bug.cgi?id=9831

timblaktu at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timblaktu at gmail dot com

--- Comment #5 from timblaktu at gmail dot com 2011-01-22 01:23:59 UTC ---
I 'm experiencing a possibly similar problem using gdb 7.0.1-debian. This
problem does not happen when debugging my app via command line - it only
happens when using gdb MI via eclipse. Here is the problem:

When I enter main(), eclipse issues a 

543,915 20-stack-list-locals --thread 1 --frame 0 1

MI command to gdb, and it hangs for about a minute. Then the response comes
back and seems to contain correct data. Then I can single step again, but when
I do, the same process repeats. Each time it hangs, top on linux tells me that
there is a "gdb --interpreter mi2 --nx" process that is hogging a core on my
machine.

I have #ifdef stubbed out code in main() until I have a simple case that hangs
and a simple case that doesn't hang. The only difference is the inclusion of
one more source line that declares/initializes a struct local variable. There
is nothing very peculiar about this struct.

Everything else looks the same for the good and bad case. Again, this behavior
does not happen when debugging the same app via gdb command line and printing
the locals. It seems MI-specific.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]