From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1956 invoked by alias); 28 Dec 2010 10:30:20 -0000 Received: (qmail 1944 invoked by uid 22791); 28 Dec 2010 10:30:19 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Dec 2010 10:30:15 +0000 Received: (qmail 18497 invoked from network); 28 Dec 2010 10:30:13 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Dec 2010 10:30:13 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH 5/8] inf-ttrace: Determine attached process LWP immediately after attaching. Date: Tue, 28 Dec 2010 11:04:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.33-29-realtime; KDE/4.4.5; x86_64; ; ) Cc: Joel Brobecker References: <1293511386-7384-1-git-send-email-brobecker@adacore.com> <1293511386-7384-6-git-send-email-brobecker@adacore.com> In-Reply-To: <1293511386-7384-6-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201012281030.11261.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00502.txt.bz2 On Tuesday 28 December 2010 04:43:03, Joel Brobecker wrote: > This works on PA/HP-UX, because we immediately perform a wait to pop > the event triggered by the attach. We can use that event to extract > the thread's LWP. But this does not work for IA64/HP-UX, because > the attach no longer triggers an event, and thus a wait should NOT > be performed (such a wait would simply block indefinitely). How you can get by without setting target_attach_no_wait then? -- Pedro Alves