public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: sandr8@gmail.com
Cc: insight@sourceware.org
Subject: Re: cross remote debugging an ELF from windows with Insight
Date: Sun, 04 Jul 2010 09:10:00 -0000	[thread overview]
Message-ID: <AANLkTikJjslSaDXpamjwm8TvbBfW7QTt7jfnJ93db3Xs@mail.gmail.com> (raw)
In-Reply-To: <AANLkTilZpE45DmqD1uHyyeF3zSo5xYcXe7-tb4mdm_LB@mail.gmail.com>

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-
>>>
>>
>

  reply	other threads:[~2010-07-04  9:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04  6:58 Alessandro Salvatori
2010-07-04  8:31 ` Hui Zhu
2010-07-04  9:04   ` Alessandro Salvatori
2010-07-04  9:10     ` Hui Zhu [this message]
2010-07-04  9:41       ` Alessandro Salvatori
2010-07-04  9:50         ` Hui Zhu
2010-07-04 20:15           ` Alessandro Salvatori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikJjslSaDXpamjwm8TvbBfW7QTt7jfnJ93db3Xs@mail.gmail.com \
    --to=teawater@gmail.com \
    --cc=insight@sourceware.org \
    --cc=sandr8@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).