From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24938 invoked by alias); 8 Jan 2003 16:32:37 -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 24927 invoked from network); 8 Jan 2003 16:32:33 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 8 Jan 2003 16:32:33 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18WL0e-0008Md-00 for ; Wed, 08 Jan 2003 12:33:00 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18WJ8E-0002OE-00 for ; Wed, 08 Jan 2003 11:32:42 -0500 Date: Wed, 08 Jan 2003 16:32:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: threads and target-function-calls Message-ID: <20030108163242.GA9168@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <3E1B7829.6B6E8BAF@redhat.com> <3E1C4F29.2070003@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E1C4F29.2070003@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00325.txt.bz2 On Wed, Jan 08, 2003 at 11:17:45AM -0500, Andrew Cagney wrote: > >Hey folks, > > > >Did you know that (at least on x86 linux), if you have a multi-thread > >program and you execute a target function call, all the threads get to > >run? Doesn't that seem like a bad thing? Wouldn't we really rather > >only run the thread that is executing the target function call? > > Ha! That's just the start. Doing nested inferior function calls on > alternative threads scrables the dummy frame cache: > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=468 Oh, lord. That's going to take some serious fixing. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer