From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20172 invoked by alias); 8 Oct 2003 20:07:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20158 invoked from network); 8 Oct 2003 20:07:40 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 8 Oct 2003 20:07:40 -0000 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 4365F8003DC; Wed, 8 Oct 2003 16:07:40 -0400 (EDT) Message-ID: <3F846E8C.5070707@redhat.com> Date: Wed, 08 Oct 2003 20:07:00 -0000 From: "J. Johnston" Organization: Red Hat Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: patch to lin-lwp.c References: <3F303C1E.7040304@redhat.com> <3F3136AD.4010300@redhat.com> <20031008180019.GA12130@nevyn.them.org> In-Reply-To: <20031008180019.GA12130@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00254.txt.bz2 Ok, patch has been checked into mainline. If it is supposed to also be in gdb 6.0, let me know. I fixed the typo in the ChangeLog entry with regards to the file name being changed. -- Jeff J. Daniel Jacobowitz wrote: > On Wed, Aug 06, 2003 at 01:11:09PM -0400, J. Johnston wrote: > >>Sorry, forgot to attach patch. >> >>J. Johnston wrote: >> >>>The attached patch is created to deal with the problem as discussed on: >>> >>> http://sources.redhat.com/ml/gdb/2003-08/msg00043.html >>> >>>The fix does two things: >>> >>> 1. it sets the resumed flag for threads we stopped when the main thread >>> exited and then resumed >>> 2. changes the running_callback to include threads that have events >>> pending on them that will be caught on the next wait >>> >>>Ok to commit? >>> >>>-- Jeff J. >>> >>>2003-08-05 Jeff Johnston >>> >>> * lin-lwp-wait.c (stop_and_resume_callback): Set the resumed flag >>> for any lwp we resume. >>> (running_callback): Add lwps that have pending status events >>> against them to be considered running. >>> >>> >>> > > > This patch is OK. Thanks! >