From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28513 invoked by alias); 5 Jul 2005 09:13:49 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28501 invoked by uid 22791); 5 Jul 2005 09:13:45 -0000 Received: from hoemail2.lucent.com (HELO hoemail2.lucent.com) (192.11.226.163) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 05 Jul 2005 09:13:45 +0000 Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by hoemail2.lucent.com (8.12.11/8.12.11) with ESMTP id j658iQmp003555 for ; Tue, 5 Jul 2005 03:44:27 -0500 (CDT) Received: from sfsws1.de.lucent.com (sfsws1 [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p1+Sun/8.11.7) with ESMTP id j658iPM04425 for ; Tue, 5 Jul 2005 10:44:26 +0200 (MEST) Received: from sfsw51.de.lucent.com (sfsw51 [135.246.72.99]) by sfsws1.de.lucent.com (8.11.7p1+Sun/8.8.5) with ESMTP id j658iP011338 for ; Tue, 5 Jul 2005 10:44:25 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id j658iP525299; Tue, 5 Jul 2005 10:44:25 +0200 (MEST) To: gdb@sources.redhat.com Subject: gdb suspends itself From: Klaus Zeitler X-Kibo-Says: I think you are not respected only a small fraction of the time. Date: Tue, 05 Jul 2005 09:13:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-07/txt/msg00026.txt.bz2 Hello, I'm trying to debug a program with approx. 100 threads under Solaris 5.8, that generates lots of trace data. When I run the program under gdb, the first few threads are started, then gdb suspends itself and I need to call 'fg' to resume execution, i.e. the whole thing looks like e.g.: [674]$ gdb ./umc.vx GNU gdb 6.3.0.20050704-cvs ... [New LWP 27] UMC1-1-> [07-05 10:05:41:932930] (tMain ) : Smdev: SMDEV initialization succeeded! [New LWP 28] logMsg [07-05 10:05:42:849879] (FireWire ) : PetDemon create Server socket on port 45263 UMC1-1-> [07-05 10:05:42:870024] 0x13dd7d0 (tFtpdTask ) : waiting for a new client connection... UMC1-1-> [07-05 10:05:42:981463] 0x7277b0 (tMain ) : Initializing OSipc [6]+ Stopped gdb ./umc.vx [675]$ fg gdb ./umc.vx ---Type to continue, or q to quit--- [New LWP 29] logMsg [07-05 10:20:36:924936] (nbapDemon ) : PetDemon create Server socket on port 45260 ... The same happens with gdb 5.3. and 6.1. This is probably not a gdb problem, but I hope someone can give me a hint how I should investigate this odd behavior. Thanks Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- There are very few personal problems that cannot be solved through a suitable application of high explosives.