public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Difference between Insight on Linux and Insight on PC?
@ 2008-05-10 11:22 Geert Vancompernolle
  2008-05-10 16:46 ` Geert Vancompernolle
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Vancompernolle @ 2008-05-10 11:22 UTC (permalink / raw)
  To: Insight Forum

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?

-- 
Best rgds,

-- Geert

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Difference between Insight on Linux and Insight on PC?
  2008-05-10 11:22 Difference between Insight on Linux and Insight on PC? Geert Vancompernolle
@ 2008-05-10 16:46 ` Geert Vancompernolle
  2008-05-10 17:05   ` Dave Korn
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Vancompernolle @ 2008-05-10 16:46 UTC (permalink / raw)
  To: Insight Forum

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Difference between Insight on Linux and Insight on PC?
  2008-05-10 16:46 ` Geert Vancompernolle
@ 2008-05-10 17:05   ` Dave Korn
  2008-05-11  5:04     ` Geert Vancompernolle
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Korn @ 2008-05-10 17:05 UTC (permalink / raw)
  To: 'Geert Vancompernolle', 'Insight Forum'

Geert Vancompernolle wrote on 10 May 2008 17:46:

> 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???).

  Yes, set it in ~/.gdbinit - see also "2.1.3 What GDB Does During Startup" in
the gdb info page.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Difference between Insight on Linux and Insight on PC?
  2008-05-10 17:05   ` Dave Korn
@ 2008-05-11  5:04     ` Geert Vancompernolle
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Vancompernolle @ 2008-05-11  5:04 UTC (permalink / raw)
  To: Dave Korn; +Cc: 'Insight Forum'

Dave Korn wrote:
> Geert Vancompernolle wrote on 10 May 2008 17:46:
>
>   
>> 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???).
>>     
>
>   Yes, set it in ~/.gdbinit - see also "2.1.3 What GDB Does During Startup" in
> the gdb info page.
>
>     cheers,
>       DaveK
>   
Works great, Dave,

Thanks very much!

-- 
Best rgds,

-- Geert

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-11  5:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-10 11:22 Difference between Insight on Linux and Insight on PC? Geert Vancompernolle
2008-05-10 16:46 ` Geert Vancompernolle
2008-05-10 17:05   ` Dave Korn
2008-05-11  5:04     ` Geert Vancompernolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).