From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5269 invoked by alias); 21 Mar 2011 22:12:39 -0000 Received: (qmail 5211 invoked by uid 22791); 21 Mar 2011 22:12:38 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 22:12:04 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2LMC2qN006686 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Mar 2011 18:12:02 -0400 Received: from mesquite.lan (ovpn-113-127.phx2.redhat.com [10.3.113.127]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2LMC1Io012914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 21 Mar 2011 18:12:02 -0400 Date: Tue, 22 Mar 2011 09:34:00 -0000 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: Re: [RFC] sim updates which fix some fileio.exp failures for v850-elf Message-ID: <20110321151201.146666ad@mesquite.lan> In-Reply-To: <20110311150447.68b4b30a@mesquite.lan> References: <20110311150447.68b4b30a@mesquite.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00981.txt.bz2 On Fri, 11 Mar 2011 15:04:47 -0700 Kevin Buettner 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