This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: cross remote debugging an ELF from windows with Insight
On Sun, Jul 4, 2010 at 17:04, Alessandro Salvatori <sandr8@gmail.com> wrote:
> mmm there's no official build that does that right?
--target=TARGET configure for building compilers for TARGET [HOST]
>
> i guess i'll need to start from getting a mingw crosscompiler from linux...
If you just want debug, you don't need them.
>
> thanks!
> --
> -Alessandro-
>
>
>
> On Sun, Jul 4, 2010 at 01:30, Hui Zhu <teawater@gmail.com> wrote:
>> On Sun, Jul 4, 2010 at 14:58, Alessandro Salvatori <sandr8@gmail.com> wrote:
>>> Hi,
>>>
>>> ?? I am trying and cross-debugging remotely with insight... insight is
>>> running on windows (32bit) and my gdbserver is running on linux
>>> (amd_64). I guess that the cygwin build of insight doesn't understand
>>> the elf format but just the PE one...
>>
>> You have known the reason. ? Try configure --help with insight source
>> to get how to set the target of insight.
>>
>>>
>>> when i click on "run" after having specified my target as a gdbserver
>>> on tcp, i have to pick my executable and as i do so I get the
>>> following dialog box:
>>>
>>> ---------------------------
>>> Error
>>> ---------------------------
>>> Error loading "/cygdrive/c/Users/alessandro/
>>> Desktop/GI/guestinfo_hack":
>>> ?not in executable format: File format not recognized
>>>
>>> ---------------------------
>>> OK
>>> ---------------------------
>>>
>>> thank you!
>>> -Alessandro-
>>>
>>
>