Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: danny.backx@scarlet.be
Cc: gdb@sourceware.org
Subject: Re: Build question
Date: Fri, 21 Aug 2009 17:30:00 -0000	[thread overview]
Message-ID: <m3fxbl2jib.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1250803105.11282.96.camel@pavilion> (Danny Backx's message of 	"Thu, 20 Aug 2009 23:18:25 +0200")

>>>>> "Danny" == Danny Backx <danny.backx@scarlet.be> writes:

Danny> HAVE_DOS_BASED_FILE_SYSTEM doesn't get set in my cross-compile, because
Danny> gdb gets compiled by the host gcc, which doesn't set _WIN32. So the
Danny> HAVE_DOS_BASED_FILE_SYSTEM never gets defined. This happens both in
Danny> gdb/* and in libiberty/* .

Just to be certain I understand, you're building a gdb that runs on your
Linux box but that you use to debug something running on Windows?

Danny> So where should I change this properly ?

Danny> Another thing to edit is then include/filenames.h - it needs to grab
Danny> this and do the right thing, instead of just reacting to _WIN32 and
Danny> such. But that's a trivial fix.

I am not familiar with this area in depth.  From what you've said it
sounds like gdb has some confusion about host paths and target paths.
Assuming that is correct, then unfortunately for you I think the best
thing to do would be to separate these concepts and turn the current
HAVE_DOS_BASED_FILE_SYSTEM into a target property.

Tom


  reply	other threads:[~2009-08-21 16:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21  0:24 Danny Backx
2009-08-21 17:30 ` Tom Tromey [this message]
2009-08-21 17:57   ` Eli Zaretskii
2009-08-21 18:23     ` Danny Backx
2009-08-21 18:51       ` Eli Zaretskii
2009-08-21 20:15         ` Danny Backx
2009-08-21 21:57           ` Eli Zaretskii
2009-08-22  9:03           ` Tom Tromey
2009-08-22  9:55             ` Danny Backx
2009-08-22 11:07               ` Eli Zaretskii
2009-08-24 10:11                 ` Danny Backx
2009-09-01 18:03                   ` Danny Backx
2009-09-01 19:34                     ` Eli Zaretskii
2009-09-01 20:10                       ` Danny Backx
2009-09-02  3:25                         ` Eli Zaretskii
2009-09-05  9:33                           ` Danny Backx
2009-09-01 19:35                     ` Eli Zaretskii
2009-08-22 22:01             ` Daniel Jacobowitz
2009-08-23  7:28               ` Joel Brobecker

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=m3fxbl2jib.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=danny.backx@scarlet.be \
    --cc=gdb@sourceware.org \
    /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