Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Stand resume() on its head
@ 2002-11-05 12:28 Andrew Cagney
  2002-11-05 12:46 ` Kevin Buettner
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andrew Cagney @ 2002-11-05 12:28 UTC (permalink / raw)
  To: gdb-patches

Hello,

There have now been several discussion threads that lead to the 
conclusion that

	target->resume (ptid_t, int, enum target_signal)

needs changing.  At present the suggestion is to add a parameter to 
indicate schedule locking and similar operations.

I'd like to propose a different approach.  Instead of passing to 
resume() what to do, have resume() iterate over all the threads asking 
each what it should do - suspend, step, run, signal, ...

I think, in the end, GDB will need to do something like this any way 
(how else is GDB going to handle suspended threads?) so might as well 
start earlier rather than later :-)

(thinking out loud)
Andrew


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-11-06  4:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 12:28 Stand resume() on its head Andrew Cagney
2002-11-05 12:46 ` Kevin Buettner
2002-11-05 14:57   ` Andrew Cagney
2002-11-05 12:59 ` Daniel Jacobowitz
2002-11-05 14:15   ` Michael Snyder
2002-11-05 20:03     ` Daniel Jacobowitz
2002-11-05 15:10   ` Andrew Cagney
2002-11-05 14:10 ` Michael Snyder
2002-11-05 15:14   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox