Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Thread exit & create events
@ 2007-08-24  8:51 Veenu Verma (AS/EAB)
  2007-08-24 10:46 ` Mark Kettenis
  0 siblings, 1 reply; 8+ messages in thread
From: Veenu Verma (AS/EAB) @ 2007-08-24  8:51 UTC (permalink / raw)
  To: gdb

Hello

We are integrating GDB back end with DSF ( Debugger Services Framework )
in Eclipse. 
Found two stumbling blocks around thread exit/create events

1. Though GDB raises a thread exit event but -thread-list-ids command
still list the reported exited thread for quite some time.
There is a gap till I guess the thread completely exits. Only info
threads give the hint by using "Exiting"  in information. 
This is a problem for us as we are relying on events and thread-list-ids
commands to paint the GUI. 
Info threads is used sparingly from front end.
Can -thread-list-ids command take into account the exited threads ? Is
it difficult to achieve this in GDB ? 

2. GDB thread identifier is not speicified when a thread is created or
exited. Only system identifier is used.
Again thread-list-ids uses only gdb thread identifier. Hence, the
mismatch and the problem.
Since on HP-UX systems gdb thread identifier is shown, I'm guessing it
shouldn't be hard to do the same for Linux.
Is there a reason for not to have gdb identifier on linux or it's just
that it's not done yet.


Veenu Khanna Verma
Ericsson - PDU Packet Server Platform


Veenu Khanna Verma
+46 7 38 09 33 09 / +46 8 727 36 05
AS/EAB/FTI/GT TADE Design
Ericsson - PDU Packet Server Platform



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

end of thread, other threads:[~2007-08-24 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-24  8:51 Thread exit & create events Veenu Verma (AS/EAB)
2007-08-24 10:46 ` Mark Kettenis
2007-08-24 12:00   ` Daniel Jacobowitz
2007-08-24 12:14     ` Veenu Verma (AS/EAB)
2007-08-24 12:19       ` Daniel Jacobowitz
2007-08-24 13:15         ` Veenu Verma (AS/EAB)
2007-08-24 13:20           ` Daniel Jacobowitz
2007-08-24 18:25           ` Jim Blandy

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