From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11439 invoked by alias); 16 Mar 2010 18:51:24 -0000 Received: (qmail 11431 invoked by uid 22791); 16 Mar 2010 18:51:23 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Mar 2010 18:51:16 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6D5D32BB589 for ; Tue, 16 Mar 2010 14:51:14 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dRBk9pI1seK9 for ; Tue, 16 Mar 2010 14:51:14 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3BDF72BABA1 for ; Tue, 16 Mar 2010 14:51:14 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 2E0DCF5917; Tue, 16 Mar 2010 11:51:12 -0700 (PDT) Date: Tue, 16 Mar 2010 18:51:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [commit/RFA] Avoid switch to invalid ptid during Ada task switch. Message-ID: <20100316185112.GD3830@adacore.com> References: <1267975529-28959-1-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1267975529-28959-1-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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-03/txt/msg00606.txt.bz2 Hello, > gdb/ChangeLog: > > * ada-tasks.c (task_command_1): Check that the task ptid is valid > before doing the associated thread switch. FYI: I just checked this in. (head only) -- Joel