public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Geert Vancompernolle" <geert.vancompernolle@gmail.com>
To: insight@sourceware.org
Subject: Dialogue box messages: how?
Date: Fri, 16 May 2008 15:25:00 -0000	[thread overview]
Message-ID: <cb76ce3b0805160340m455be8e3pf559e95bd2fb520a@mail.gmail.com> (raw)

Hi,

I would like to know how message boxes are triggered from GDB towards Insight.

One specific example: in the file "remote.c" (GDB), there's a warning
submitted in the function "remote_wait()", when there's an unsupported
character.

The code written is:

	  warning (_("Invalid remote reply: %s"), buf);

Something similar exists for "error()".

My question: how's the connection between the above warning and the
small warning dialogue that is shown on the screen?  Is GDB triggering
Insight to show the above warning in a "warning dialogue box"?  Or how
is it done?  Where's the connection between Insight and GDB in that
respect?

Best rgds,

--Geert

             reply	other threads:[~2008-05-16 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16 15:25 Geert Vancompernolle [this message]
2008-05-17  1:17 ` Brian Dessent

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=cb76ce3b0805160340m455be8e3pf559e95bd2fb520a@mail.gmail.com \
    --to=geert.vancompernolle@gmail.com \
    --cc=insight@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).