From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5613 invoked by alias); 12 Apr 2008 16:43:20 -0000 Received: (qmail 5604 invoked by uid 22791); 12 Apr 2008 16:43:20 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 Apr 2008 16:43:03 +0000 Received: (qmail 23641 invoked from network); 12 Apr 2008 16:43:01 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Apr 2008 16:43:01 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch] Fix Linux attach to signalled/stopped processes Date: Sun, 13 Apr 2008 13:40:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: Daniel Jacobowitz , Roland McGrath , Jan Kratochvil , Doug Evans , mark.kettenis@xs4all.nl References: <200804120021.34444.pedro@codesourcery.com> <200804121737.49116.pedro@codesourcery.com> In-Reply-To: <200804121737.49116.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804121742.58729.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: 2008-04/txt/msg00237.txt.bz2 Darn, I'll never learn... A Saturday 12 April 2008 17:37:48, Pedro Alves wrote: if (GET_LWP (lp->ptid) != GET_PID (lp->ptid)) { + int status = 0; + + /* Pass on any pending signal for this LWP. */ + get_pending_status (lwp_list, &status); ^ Obvious pasto here, should be lp... Sorry for the flooding. -- Pedro Alves