From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17734 invoked by alias); 11 Jun 2003 17:57:29 -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 12394 invoked from network); 11 Jun 2003 17:55:08 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 11 Jun 2003 17:55:08 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h5BHt8H17906 for ; Wed, 11 Jun 2003 13:55:08 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5BHt8I28365; Wed, 11 Jun 2003 13:55:08 -0400 Received: from [150.1.200.14] (vpn50-62.rdu.redhat.com [172.16.50.62]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5BHt7E17874; Wed, 11 Jun 2003 13:55:07 -0400 Subject: Re: Select a source file From: Keith Seitz To: Alex Genkin Cc: "insight@sources.redhat.com" In-Reply-To: <006401c33040$3970a670$874b0680@AG> References: <006401c33040$3970a670$874b0680@AG> Content-Type: text/plain Organization: Message-Id: <1055354546.1567.12.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Wed, 11 Jun 2003 17:57:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00162.txt.bz2 On Wed, 2003-06-11 at 10:36, Alex Genkin wrote: > Hi! > At the start, source window shows one of my source code files - one that it > chooses somehow. Heuristic is very simple: find main(). Failing that, find the entry point. > How do I open the source code file that I choose? > File|Source seems to look for some other kind of file, some mysterious GDB > command file... File->Source reads in (aks "sources") a gdb script file. Type or choose the name of the file you want in the file combobox at the top of the source window. Alternatively, just type in the name of the function you want in the function combo. There is extensive online help on using the source window. It's in need of some cleanup, but the information is accurate. Keith