From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19492 invoked by alias); 27 Sep 2002 01:48:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19484 invoked from network); 27 Sep 2002 01:48:26 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Sep 2002 01:48:26 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 3254E3E1B for ; Thu, 26 Sep 2002 21:48:27 -0400 (EDT) Message-ID: <3D93B8EA.6050803@redhat.com> Date: Thu, 26 Sep 2002 18:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Re: RFC: Two small remote protocol extensions References: <20020502022543.GA22594@nevyn.them.org> <20020816143040.GA22041@nevyn.them.org> <3D5D0F62.4010207@ges.redhat.com> <20020816145306.GA24002@nevyn.them.org> <3D65B53D.8050603@ges.redhat.com> <20020823124453.GA12257@nevyn.them.org> <3D6692AE.90601@ges.redhat.com> <20020823201549.GB26809@nevyn.them.org> <3D6C4C4E.4050409@ges.redhat.com> <20020828133445.GA16642@nevyn.them.org> <3D93B6E6.8030805@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00474.txt.bz2 > - we modify GDB so that, when asked to step a thread other than current (i.e., selected) GDB first forces the target to switch to that thread, and then steps it. This means doing a software single step even though the hardware might think it has hardware single step. To, er, make things up as I go along; Should the target code iterate through the thread db to find out what it is ment to do with each thread? Down the road, I don't see any other (easy) way of getting something like a ``thread suspend'' working. A schedule lock is really suspend all but selected. Andrew