This is the mail archive of the gdb@sourceware.org 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]

Thread exit & create events


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



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