From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25757 invoked by alias); 23 Aug 2002 19:10:52 -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 25747 invoked from network); 23 Aug 2002 19:10:49 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 23 Aug 2002 19:10:49 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AAD643ED5; Fri, 23 Aug 2002 15:10:46 -0400 (EDT) Message-ID: <3D6688B6.2050407@ges.redhat.com> Date: Fri, 23 Aug 2002 12:10:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00298.txt.bz2 > I think it is passed down when schedule locking and when doing a thread hop. > > > ? I don't believe so, but I'm not sure what you mean exactly. > See resume(). A ``thread hop'' refers to the problem of needing to single step one thread past its breakpoint while not letting any other thread slip through while that break point is pulled. if ((step || singlestep_breakpoints_inserted_p) && !breakpoints_inserted && breakpoint_here_p (read_pc ())) { /* Stepping past a breakpoint without inserting breakpoints. Make sure only the current thread gets to step, so that other threads don't sneak past breakpoints while they are not inserted. */ resume_ptid = inferior_ptid; } Andrew