* cross remote debugging an ELF from windows with Insight
@ 2010-07-04 6:58 Alessandro Salvatori
2010-07-04 8:31 ` Hui Zhu
0 siblings, 1 reply; 7+ messages in thread
From: Alessandro Salvatori @ 2010-07-04 6:58 UTC (permalink / raw)
To: insight
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...
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-
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cross remote debugging an ELF from windows with Insight
2010-07-04 6:58 cross remote debugging an ELF from windows with Insight Alessandro Salvatori
@ 2010-07-04 8:31 ` Hui Zhu
2010-07-04 9:04 ` Alessandro Salvatori
0 siblings, 1 reply; 7+ messages in thread
From: Hui Zhu @ 2010-07-04 8:31 UTC (permalink / raw)
To: sandr8; +Cc: insight
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-
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cross remote debugging an ELF from windows with Insight
2010-07-04 8:31 ` Hui Zhu
@ 2010-07-04 9:04 ` Alessandro Salvatori
2010-07-04 9:10 ` Hui Zhu
0 siblings, 1 reply; 7+ messages in thread
From: Alessandro Salvatori @ 2010-07-04 9:04 UTC (permalink / raw)
To: Hui Zhu; +Cc: insight
mmm there's no official build that does that right?
i guess i'll need to start from getting a mingw crosscompiler from linux...
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-
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cross remote debugging an ELF from windows with Insight
2010-07-04 9:04 ` Alessandro Salvatori
@ 2010-07-04 9:10 ` Hui Zhu
2010-07-04 9:41 ` Alessandro Salvatori
0 siblings, 1 reply; 7+ messages in thread
From: Hui Zhu @ 2010-07-04 9:10 UTC (permalink / raw)
To: sandr8; +Cc: 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-
>>>
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cross remote debugging an ELF from windows with Insight
2010-07-04 9:10 ` Hui Zhu
@ 2010-07-04 9:41 ` Alessandro Salvatori
2010-07-04 9:50 ` Hui Zhu
0 siblings, 1 reply; 7+ messages in thread
From: Alessandro Salvatori @ 2010-07-04 9:41 UTC (permalink / raw)
To: Hui Zhu; +Cc: insight
how do i (reconfigure and) build insight for windows without a cross
toolchain???
thanks!
-Alessandro-
On Sun, Jul 4, 2010 at 02:10, Hui Zhu <teawater@gmail.com> wrote:
> 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-
>>>>
>>>
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cross remote debugging an ELF from windows with Insight
2010-07-04 9:41 ` Alessandro Salvatori
@ 2010-07-04 9:50 ` Hui Zhu
2010-07-04 20:15 ` Alessandro Salvatori
0 siblings, 1 reply; 7+ messages in thread
From: Hui Zhu @ 2010-07-04 9:50 UTC (permalink / raw)
To: sandr8; +Cc: insight
Why you think you need a cross toolchain to build insight for windows?
Can you google "What is cross toolchain"
On Sun, Jul 4, 2010 at 17:40, Alessandro Salvatori <sandr8@gmail.com> wrote:
> how do i (reconfigure and) build insight for windows without a cross
> toolchain???
>
> thanks!
> -Alessandro-
>
> On Sun, Jul 4, 2010 at 02:10, Hui Zhu <teawater@gmail.com> wrote:
>> 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-
>>>>>
>>>>
>>>
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cross remote debugging an ELF from windows with Insight
2010-07-04 9:50 ` Hui Zhu
@ 2010-07-04 20:15 ` Alessandro Salvatori
0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Salvatori @ 2010-07-04 20:15 UTC (permalink / raw)
To: Hui Zhu; +Cc: insight
i don't strictly need a cross toolchain, i guess I could build it
directly from windows, but I guess it wouldn't be easier at all.
why do you like going back and forth with quizzes?
-Alessandro-
On Sun, Jul 4, 2010 at 02:50, Hui Zhu <teawater@gmail.com> wrote:
> Why you think you need a cross toolchain to build insight for windows?
> Can you google "What is cross toolchain"
>
> On Sun, Jul 4, 2010 at 17:40, Alessandro Salvatori <sandr8@gmail.com> wrote:
>> how do i (reconfigure and) build insight for windows without a cross
>> toolchain???
>>
>> thanks!
>> -Alessandro-
>>
>> On Sun, Jul 4, 2010 at 02:10, Hui Zhu <teawater@gmail.com> wrote:
>>> 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-
>>>>>>
>>>>>
>>>>
>>>
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-04 20:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-04 6:58 cross remote debugging an ELF from windows with Insight Alessandro Salvatori
2010-07-04 8:31 ` Hui Zhu
2010-07-04 9:04 ` Alessandro Salvatori
2010-07-04 9:10 ` Hui Zhu
2010-07-04 9:41 ` Alessandro Salvatori
2010-07-04 9:50 ` Hui Zhu
2010-07-04 20:15 ` Alessandro Salvatori
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).