From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18625 invoked by alias); 16 Nov 2009 21:25:53 -0000 Received: (qmail 18609 invoked by uid 22791); 16 Nov 2009 21:25:51 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Nov 2009 21:24:47 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAGLOkwV010162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 Nov 2009 16:24:46 -0500 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAGLOgD9008697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Nov 2009 16:24:45 -0500 Message-ID: <4B01C31A.5040509@redhat.com> Date: Mon, 16 Nov 2009 21:25:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: yunlu liu CC: insight@sources.redhat.com Subject: Re: can't open file in Insight References: <5d96e8200911161308n9e0c2caif70670ef5d1ad949@mail.gmail.com> In-Reply-To: <5d96e8200911161308n9e0c2caif70670ef5d1ad949@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2009-q4/txt/msg00034.txt.bz2 On 11/16/2009 01:08 PM, yunlu liu wrote: > Hi, > I installed insight on Ubuntu9.04. I find I couldn't use the insight > to open *.c files. When I click File->open/source choose a *.c file, > it shows error in sourced command file: undefined command: " ". The "source" is really a gdb script file, not a source file. Unfortunately, a feature was never added to Insight to allow the user to edit the source search path, so the first time you debug something, you'll have to manually enter the directory. Insight will save this into its preferences. Open a console window and type "help dir". Keith