This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Dialogue box messages: how?
- From: Brian Dessent <brian at dessent dot net>
- To: Geert Vancompernolle <geert dot vancompernolle at gmail dot com>
- Cc: insight at sourceware dot org
- Date: Fri, 16 May 2008 18:16:56 -0700
- Subject: Re: Dialogue box messages: how?
- References: <cb76ce3b0805160340m455be8e3pf559e95bd2fb520a@mail.gmail.com>
- Reply-to: insight at sourceware dot org
Geert Vancompernolle wrote:
> 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?
Keep in mind that Insight *is* GDB, it's not a front-end; it's one
singular program. Look at generic/gdbtk-hooks.c. Insight provides a
number of hooks that get called for various events, in this case
gdbtk_warning().
Brian