From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2326 invoked by alias); 7 Sep 2007 11:49:03 -0000 Received: (qmail 2317 invoked by uid 22791); 7 Sep 2007 11:49:02 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Sep 2007 11:48:57 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id E1269982A2; Fri, 7 Sep 2007 11:48:57 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 8E2BF9814E; Fri, 7 Sep 2007 11:48:57 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1ITcKU-0004xi-GQ; Fri, 07 Sep 2007 07:48:54 -0400 Date: Fri, 07 Sep 2007 12:32:00 -0000 From: Daniel Jacobowitz To: Bogdan Slusarczyk Cc: gdb@sourceware.org Subject: Re: attaching gdb causes pthread_create hang [gdb6.3, long subject] Message-ID: <20070907114854.GB18775@caradoc.them.org> Mail-Followup-To: Bogdan Slusarczyk , gdb@sourceware.org References: <46E117EE.4030600@op.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E117EE.4030600@op.pl> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00077.txt.bz2 On Fri, Sep 07, 2007 at 11:20:46AM +0200, Bogdan Slusarczyk wrote: > Hi everyone, maybe you can help me. > There is following scenario: > 1) I use gdb6.3, which was build on some linux, and I cannot change its version > and cannot build gdb for every linux on the world (I mean I have to deliver > built gdb to customers, regardless of which linux they have) Sorry, but if you say "I have a version of GDB three years old and it has this problem", we're only going to suggest you try the current version. We've spent those three years fixing problems in GDB. > - when I build the same gdb version on such specific linux, it works fine too! I don't know what this might be. My first guess would be that the system you're building on didn't have tkill available. > -what kind of operations does gdb which could harm debugged application? It debugs it! Debugging, especially for threaded programs, is intrusive and complicated. -- Daniel Jacobowitz CodeSourcery