From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30274 invoked by alias); 25 Mar 2005 19:53:06 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 30251 invoked from network); 25 Mar 2005 19:53:02 -0000 Received: from unknown (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org with SMTP; 25 Mar 2005 19:53:02 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DEurC-0007ol-Cp for insight@sources.redhat.com; Fri, 25 Mar 2005 20:52:34 +0100 Received: from 66.168.89.166 ([66.168.89.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Mar 2005 20:52:34 +0100 Received: from gene.smith by 66.168.89.166 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Mar 2005 20:52:34 +0100 To: insight@sources.redhat.com From: geneSmith Subject: Stop sign ignored while debugging linux pgm Date: Fri, 25 Mar 2005 19:53:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 66.168.89.166 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: sss X-MailScanner-From: gcdi-insight@m.gmane.org X-MailScanner-To: insight@sources.redhat.com X-SW-Source: 2005-q1/txt/msg00062.txt.bz2 I have a program (written by someone else) that I need to look at with gdb. The program runs in a tight loop looking for a keypress and servicing tcp/ip events with select. When the program runs under insight it seems to remove all the oxygen from the insight gui in that the STOP button and other menus are ineffective. The program itself responds to the keypresses appropriately. Also, if a window covers the insight gui with the program running under its control it never get redrawn. When the program runs stand-alone (with insight/gdb) it does not respond to ctrl-c. Do I possibly need some sort of SIGINT handler? When I write my own program just looping forever on printf it responds to the STOP button (SIGINT) as expected and stops the program executation as I would expect. But the other program program does not. Tks, -gene -- Lit up like Levy's