From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31570 invoked by alias); 14 Aug 2003 21:52:28 -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 31560 invoked from network); 14 Aug 2003 21:52:24 -0000 Received: from unknown (HELO gum.itee.uq.edu.au) (130.102.66.1) by sources.redhat.com with SMTP; 14 Aug 2003 21:52:24 -0000 Received: from luma.itee.uq.edu.au (luma.itee.uq.edu.au [130.102.66.14]) by gum.itee.uq.edu.au (8.12.9/8.12.9) with ESMTP id h7ELqKFX003715 for ; Fri, 15 Aug 2003 07:52:20 +1000 (EST) Received: from itee.uq.edu.au (g435-9029.itee.uq.edu.au [130.102.66.250]) by luma.itee.uq.edu.au (8.12.9/8.12.9) with ESMTP id h7ELqKli008636 for ; Fri, 15 Aug 2003 07:52:20 +1000 (EST) Message-ID: <3F3C06C7.5090006@itee.uq.edu.au> Date: Thu, 14 Aug 2003 21:52:00 -0000 From: John Williams Reply-To: jwilliams@itee.uq.edu.au Organization: ITEE, University of Queensland User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: "insight@sources.redhat.com" Subject: Re: duplicated source file names References: <3F3B355C.5040904@itee.uq.edu.au> <1060877014.1578.17.camel@lindt.uglyboxes.com> In-Reply-To: <1060877014.1578.17.camel@lindt.uglyboxes.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checked: This message probably not SPAM X-Spam-Score: -1.4 X-Spam-Tests: EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,UNDISC_RECIPS,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG X-Spam-Report: -1.40 points, 8 required; * -0.5 -- Has a valid-looking References header * -0.5 -- Has a In-Reply-To header * 0.0 -- User-Agent header indicates a non-spam MUA (Mozilla) * -0.1 -- Has a X-Accept-Language header * 1.2 -- Valid-looking To "undisclosed-recipients" * -0.5 -- BODY: Contains what looks like an email attribution * -0.5 -- BODY: Contains what looks like a quoted email text * -0.5 -- Reply with quoted text X-Scanned-By: MIMEDefang 2.35 X-SW-Source: 2003-q3/txt/msg00099.txt.bz2 Hi Keith, Keith Seitz wrote: > >>However, when debugging this in insight, it only seems to be able to >>"recognise" one instance of a particular filename. So, even though I >>type in the name of a function in the function drop down >>"ext2_read_super", which exists in fs/ext2/super.c, Insight displays the >>file /fs/super.c. > > This is a pretty well-known issue for me... I still have nightmares > about it. The problem is not really insight, as I recall. Here's how to > check: > > Try a couple of things. Open a console window and enter the commands: > > - "list ext2_read_super": Does it return the correct source? Nope - it lists the "correct" line numbers from the wrong file. I'm guessing this is a problem in the binutils addr2line, is that what it's for? > - "info func ext2_read_super": Right info? It says "super.c", then gives the corrent function declaration. > - "tk gdbtk_loc ext_read_super": Right info? I get - Error: invalid command name "gdbtk_loc" > Send results to the list. I'm pretty sure that gdb is failing on this, > but it has been a while, and maybe they fixed it and Insight is behind > the times. > > BTW, gdb/insight 5.0 is WAY old... Even if it is a gdb problem, I doubt > you're going to get much help with a release that several years old. Yeah I realise that - this is a cross-debugger for an embedded system, short of forward-porting it myself (*not* gonna happen!) I don't really have a lot of options. I'm not too stressed about this, I can just rename the source file and rebuild the project as I need to, just wanted to know if there was something simple I might do. Thanks, John > > Keith > -- Dr John Williams, Research Fellow, Reconfigurable Computing, School of ITEE University of Queensland, Brisbane, Australia Ph : (07) 3365 8305