From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31266 invoked by alias); 22 Jan 2011 01:24:52 -0000 Received: (qmail 31241 invoked by uid 22791); 22 Jan 2011 01:24:52 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 22 Jan 2011 01:24:39 +0000 From: "timblaktu at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug mi/9831] very slow loading of symbols under mi2 & core dumps X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: timblaktu at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 6.8 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 22 Jan 2011 01:24:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00066.txt.bz2 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.