Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: "Veenu Verma (AS/EAB)" <veenu.verma@ericsson.com>
Cc: "Daniel Jacobowitz" <drow@false.org>,
		  "Mark Kettenis" <mark.kettenis@xs4all.nl>,
	 <gdb@sourceware.org>
Subject: Re: Thread exit & create events
Date: Fri, 24 Aug 2007 18:25:00 -0000	[thread overview]
Message-ID: <m3fy28x01x.fsf@codesourcery.com> (raw)
In-Reply-To: <9171BA436A79BF46953672FB5A11DA5E012B47B7@esealmw104.eemea.ericsson.se> (Veenu Verma's message of "Fri, 24 Aug 2007 15:14:53 +0200")


"Veenu Verma (AS/EAB)" <veenu.verma@ericsson.com> writes:
>> 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.

If you look at the grammar for GDB/MI in the GDB manual (under "GDB/MI
Output Syntax"), the MI protocol allows for asynchronous notification
output, which is marked by a '=':

`NOTIFY-ASYNC-OUTPUT ==>'
     `[ TOKEN ] "=" ASYNC-OUTPUT'

...

   * NOTIFY-ASYNC-OUTPUT contains supplementary information that the
     client should handle (e.g., a new breakpoint information).  All
     notify output is prefixed by `='.

What you should do is define a new ASYNC-CLASS, which is sent with
RESULTs that carry the thread identifiers you're interested in.


      parent reply	other threads:[~2007-08-24 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24  8:51 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3fy28x01x.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=veenu.verma@ericsson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox