This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: threads and target-function-calls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]