This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Thread exit & create events
> 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.
Yes, we are parsing console output.
What do you mean by a real MI event ? Searched archive for "MI events"
but didnt find anything related.
-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org]
Sent: Friday, August 24, 2007 2:19 PM
To: Veenu Verma (AS/EAB)
Cc: Mark Kettenis; gdb@sourceware.org
Subject: 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