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]

Re: Thread exit & create events


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


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