Re: cross remote debugging an ELF from windows with Insight

Hui Zhu <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <[email protected]>
On Sun, Jul 4, 2010 at 17:04, Alessandro Salvatori <[email protected]> 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 <[email protected]> wrote:
>> On Sun, Jul 4, 2010 at 14:58, Alessandro Salvatori <[email protected]> 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-
>>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.