From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18020 invoked by alias); 16 May 2008 15:25:55 -0000 Received: (qmail 15458 invoked by uid 22791); 16 May 2008 10:40:51 -0000 X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 May 2008 10:40:25 +0000 Received: by yw-out-1718.google.com with SMTP id 9so622411ywk.48 for ; Fri, 16 May 2008 03:40:19 -0700 (PDT) Received: by 10.150.84.41 with SMTP id h41mr3312946ybb.219.1210934418968; Fri, 16 May 2008 03:40:18 -0700 (PDT) Received: by 10.151.39.16 with HTTP; Fri, 16 May 2008 03:40:18 -0700 (PDT) Message-ID: Date: Fri, 16 May 2008 15:25:00 -0000 From: "Geert Vancompernolle" To: insight@sourceware.org Subject: Dialogue box messages: how? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00072.txt.bz2 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