From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30724 invoked by alias); 24 Mar 2006 21:07:09 -0000 Received: (qmail 30563 invoked by uid 22791); 24 Mar 2006 21:07:09 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Mar 2006 21:07:07 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 07A731D373; Fri, 24 Mar 2006 22:07:05 +0100 (CET) From: Andreas Schwab To: John Fodor Cc: gdb@sourceware.org Subject: Re: gdb and multi-threaded (NPTL) programs References: <44244F1F.6030108@mac.com> <44245BC3.8010706@mac.com> X-Yow: I'm DESPONDENT... I hope there's something DEEP-FRIED under this miniature DOMED STADIUM... Date: Fri, 24 Mar 2006 21:21:00 -0000 In-Reply-To: <44245BC3.8010706@mac.com> (John Fodor's message of "Fri, 24 Mar 2006 15:51:15 -0500") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00180.txt.bz2 John Fodor writes: > I guess you're right. But remember this is an EINTR because we are > single-stepping. Or receiving a stop signal for any other reason. > Are yoiu saying that one should retry all syscalls on every EINTR? It depends on what is appropriate. Every program can have its own requirements. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."