Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Paul Brook <paul@codesourcery.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] Building simulators on windows hosts
Date: Fri, 29 Apr 2005 14:45:00 -0000	[thread overview]
Message-ID: <20050429144355.GA25251@nevyn.them.org> (raw)
In-Reply-To: <200504291539.15275.paul@codesourcery.com>

On Fri, Apr 29, 2005 at 03:39:15PM +0100, Paul Brook wrote:
> The attached patch allows building the gdb simulators on windows hosts. These 
> do not provide the lstat(2) or ftruncate(2) functions. truncate(2) is not 
> implemented in older mingw releases.
> 
> Windows doesn't have symbolic links, so we use stat in place of lstat. For the 
> missing truncate functions we just fail.
> 
> Applied to csl-arm-20050325-branch.
> Ok for mainline?
> 
> Paul
> 
> 2005-04-29  Paul Brook  <paul@codesourcery.com>
> 
> 	* common/callback.c (PIPE_BUF): Provide default refinition.
> 	(os_lstat): Use stat if lstat is not available on the host.
> 	(os_ftruncate): Return EINVAL if not available on the host.
> 	(os_truncate): Ditto.
> 	* common/configure.ac: Check for lstat, truncate and ftruncate.
> 	* common/configure: Regenerate.
> 	* common/config.in: Regenerate.

Yes, this is OK.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-04-29 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-29 14:39 Paul Brook
2005-04-29 14:45 ` Daniel Jacobowitz [this message]
2005-05-01  3:46 ` Eli Zaretskii
2005-05-01  4:42   ` Christopher Faylor

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=20050429144355.GA25251@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=paul@codesourcery.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