From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25108 invoked by alias); 6 Jun 2003 23:58:56 -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 25097 invoked from network); 6 Jun 2003 23:58:56 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 6 Jun 2003 23:58:56 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19OR7R-00005Y-00; Fri, 06 Jun 2003 18:59:37 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19OR6h-0003jb-00; Fri, 06 Jun 2003 19:58:51 -0400 Date: Fri, 06 Jun 2003 23:58:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: Always use at least schedlock_step for software single step targets Message-ID: <20030606235850.GA14340@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <20030605143728.GA31355@nevyn.them.org> <3EE1096D.8030801@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EE1096D.8030801@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00249.txt.bz2 On Fri, Jun 06, 2003 at 05:36:45PM -0400, Andrew Cagney wrote: > > >It effectively forces schedlock_step for SSS targets > >(but I guess you knew that). People appear to be very > >diverse in their opinion about whether schedlock is the > >"right" behavior or the "wrong" one. You might not see > >the behavior that you're trying to debug, if you're only > >stepping one thread. > > There are targets for which sched lock almost meaningless, but then, > hopefully those targets also support hardware single step. > > The change looks to be the best option. I think I'm going to revisit an event scheduler in gdbserver to fix the livelock, before I commit this. Since I'd rather schedlock worked on mips-linux. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer