From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19325 invoked by alias); 5 Dec 2007 16:07:58 -0000 Received: (qmail 19317 invoked by uid 22791); 5 Dec 2007 16:07:58 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Dec 2007 16:07:51 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5FF7598349; Wed, 5 Dec 2007 16:07:49 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2E8649833F; Wed, 5 Dec 2007 16:07:49 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Izwmq-0006Q0-8U; Wed, 05 Dec 2007 11:07:48 -0500 Date: Wed, 05 Dec 2007 18:37:00 -0000 From: Daniel Jacobowitz To: "Maciej W. Rozycki" Cc: gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: Target-specific thread switching backend Message-ID: <20071205160748.GA24295@caradoc.them.org> Mail-Followup-To: "Maciej W. Rozycki" , gdb-patches@sourceware.org, "Maciej W. Rozycki" References: <20071205144031.GA19944@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00085.txt.bz2 On Wed, Dec 05, 2007 at 03:22:34PM +0000, Maciej W. Rozycki wrote: > It sounds worrying though, that the notion of the current thread within > GDB is changed freely somewhere when there is a dedicated call to switch > threads, hmm... Yes, especially when all the thread IDs should be really be arguments to these functions. For instance, the global current_regcache is silly; we should support more than one regcache live at a time. -- Daniel Jacobowitz CodeSourcery