Thread exit & create events

Daniel Jacobowitz drow@false.org
Fri Aug 24 12:19:00 GMT 2007


On Fri, Aug 24, 2007 at 02:13:07PM +0200, Veenu Verma (AS/EAB) wrote:
> >I am not sure why this would be any different on HP-UX unless they're
> looking at WDB instead of GDB.
> 
> In GDB documentation it says
>  
> For example, on HP-UX, you see
> [New thread 2 (system thread 26594)]
> 
> For example, on GNU/Linux, you might see
> [New Thread 46912507313328 (LWP 25582)

I suspect that 2 is the system identifier on HP-UX and this is not
necessarily the same small integer as GDB's.  I might be wrong though,
I have never worked with the HP-UX code.

> Is it difficult to incorporate this small integer while reporting an
> event in GDB ?

No, but how are you getting these events in the first place?  Are you
really parsing the ~"" console output?

I think you can find discussions of a real MI event for this sort of
thing in the archives somewhere.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list