From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16511 invoked by alias); 10 May 2008 16:46:17 -0000 Received: (qmail 16499 invoked by uid 22791); 10 May 2008 16:46:15 -0000 X-Spam-Check-By: sourceware.org Received: from eir.is.scarlet.be (HELO eir.is.scarlet.be) (193.74.71.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 10 May 2008 16:45:56 +0000 Received: from [192.168.123.145] (ip-83-134-136-19.dsl.scarlet.be [83.134.136.19]) (authenticated bits=0) by eir.is.scarlet.be (8.14.2/8.14.2) with ESMTP id m4AGjqr3008748 for ; Sat, 10 May 2008 18:45:52 +0200 Message-ID: <4825D164.1020708@scarlet.be> Date: Sat, 10 May 2008 16:46:00 -0000 From: Geert Vancompernolle User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Insight Forum Subject: Re: Difference between Insight on Linux and Insight on PC? References: <4825856B.100@gmail.com> In-Reply-To: <4825856B.100@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: eir 20001; Body=1 Fuz1=1 Fuz2=1 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/msg00062.txt.bz2 Geert Vancompernolle wrote: > Hi, > > I've been able to compile Insight for PC (next to Insight for Linux, > which I'm using already for over a year). I'm also able to connect to > my target, but what I'm missing, is the high level language. > > I only see assembler instructions. > > I'm using the same executable to debug on Insight for PC, as the one > I'm using on Insight for Linux. And on Linux, everything is just fine. > > My compilation happens on Linux and the location is mapped using > Samba, on a Windows drive letter. On Linux, the sources are located > in /home/geertvc/data/homeautomation. On Windows, /home/geertvc is > substituted on the Z: drive letter. > > So, I think the debug information will contain the path to my Linux > location (being /home/...), while Insight for PC is looking via the > mapped file (Z: in my case). > > If the above is indeed correct, does there exist a kind of "alias", to > replace /home/geertvc with Z:/??? > > I think that would solve my problem... > > Anyone any idea? > Found this one myself... ;-) To solve my problem, I have to execute the command "set substitute-path /home/geertvc z:/" in the command window (maybe I can do this automatically each time I start Insight???). Once this is done, all references to "/home/geertvc" will be "detoured" to "Z:/", exactly what I want. -- Best rgds, -- Geert