This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] sim updates which fix some fileio.exp failures for v850-elf
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 21 Mar 2011 15:12:01 -0700
- Subject: Re: [RFC] sim updates which fix some fileio.exp failures for v850-elf
- References: <20110311150447.68b4b30a@mesquite.lan>
On Fri, 11 Mar 2011 15:04:47 -0700
Kevin Buettner <kevinb@redhat.com> wrote:
> sim/common/ChangeLog:
>
> * gennltvals.sh: Search sys/_default_fcntl.h, in addition to
> fcntl.h and sys/fcntl.h, for constants.
> * nltvals.def: Regenerate.
> * sim-io.c (sim_io_stat, sim_io_fstat): New functions.
> * sim-io.h (sys/types.h, sys/stat.h): Include.
> (sim_io_stat, sim_io_fstat): Declare.
>
> sim/v850/ChangeLog:
>
> * simops (OP_10007E0): Update errno handling as most traps
> do not invoke the host's functionality directly. Invoke
> sim_io_stat() instead of stat() for implementing TARGET_SYS_stat.
> Implement TARGET_SYS_fstat, TARGET_SYS_rename, and TARGET_SYS_unlink.
Committed.
Kevin