From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22190 invoked by alias); 8 Oct 2003 18:00:20 -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 22183 invoked from network); 8 Oct 2003 18:00:19 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 8 Oct 2003 18:00:19 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A7Ibj-0003AN-4Z; Wed, 08 Oct 2003 14:00:19 -0400 Date: Wed, 08 Oct 2003 18:00:00 -0000 From: Daniel Jacobowitz To: "J. Johnston" Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: patch to lin-lwp.c Message-ID: <20031008180019.GA12130@nevyn.them.org> Mail-Followup-To: "J. Johnston" , gdb-patches@sources.redhat.com References: <3F303C1E.7040304@redhat.com> <3F3136AD.4010300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F3136AD.4010300@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00227.txt.bz2 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! -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer