Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* What to do with threads?
@ 2003-02-02 21:04 Andrew Cagney
  2003-02-03 16:58 ` Quality Quorum
  2003-03-03 23:40 ` Andrew Cagney
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Cagney @ 2003-02-02 21:04 UTC (permalink / raw)
  To: gdb

Hello,

To put it simply, how can one fix this:

static CORE_ADDR
d10v_read_pc (ptid_t ptid)
{
   ....
   read_register (PC_REGNUM);
   ....
}

There are problems at many levels.  Off the top of my head:

- ptid can identify a thread and/or a LWP
- there sometimes isn't even a thread and/or a LWP
- the selected and current thread both fight over the same global data 
structures
- long long term, an objective is to have gdb debug multiple processes / 
  ISAs
- so long term that it is probably funny, an objective is to have gdb 
debugging multiple targets

I think we've fought the frame battle and won (the casualties will take 
ages to recover mind :-), the thread battle, I think, is next.

Andrew


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

end of thread, other threads:[~2003-03-04 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-02 21:04 What to do with threads? Andrew Cagney
2003-02-03 16:58 ` Quality Quorum
2003-03-03 23:40 ` Andrew Cagney
2003-03-04  2:59   ` Daniel Jacobowitz
2003-03-04 14:35     ` Andrew Cagney

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