From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28212 invoked by alias); 1 Feb 2008 00:14:06 -0000 Received: (qmail 28204 invoked by uid 22791); 1 Feb 2008 00:14:05 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Feb 2008 00:13:35 +0000 Received: by nf-out-0910.google.com with SMTP id b11so224212nfh.48 for ; Thu, 31 Jan 2008 16:13:32 -0800 (PST) Received: by 10.78.170.6 with SMTP id s6mr4703530hue.62.1201824812180; Thu, 31 Jan 2008 16:13:32 -0800 (PST) Received: from ?192.168.0.101? ( [85.240.251.38]) by mx.google.com with ESMTPS id q9sm13161174gve.10.2008.01.31.16.13.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 31 Jan 2008 16:13:31 -0800 (PST) Message-ID: <47A2642D.7030506@portugalmail.pt> Date: Fri, 01 Feb 2008 00:14:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: GDB Patches Subject: Re: [gdbserver] Make mingw32ce gdbserver build again References: <47A138D6.5090108@portugalmail.pt> <20080131145513.GA32620@caradoc.them.org> <47A20C37.9060803@codesourcery.com> <20080131214903.GA5085@caradoc.them.org> In-Reply-To: <20080131214903.GA5085@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2008-02/txt/msg00001.txt.bz2 Daniel Jacobowitz wrote: > On Thu, Jan 31, 2008 at 05:58:15PM +0000, Pedro Alves wrote: >> gdbserver/ >> 2008-01-31 Pedro Alves >> >> * hostio.c: Don't include errno.h. >> (errno_to_fileio_errno): Move to hostio-errno. >> * hostio.c: (hostio_error): Remove the error parameter. Defer the >> error number outputting to the target->hostio_last_error callback. >> (hostio_packet_error): Use FILEIO_EINVAL directly. >> (handle_open, handle_pread, hostio_error, handle_unlink): Update >> calls to hostio_error. >> * hostio-errno.c: New. >> * server.h (hostio_last_error_from_errno): Declare. >> * target.h (target_ops): Add hostio_last_error member. >> * linux-low.c (linux_target_op): Register hostio_last_error_from_errno >> as hostio_last_error handler. >> * spu-low.c (spu_target_ops): Likewise. >> * win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error, >> wince_hostio_last_error): New functions. >> (win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error >> as hostio_last_error handler. >> (win32_target_ops) [!_WIN32_WCE]: Register >> hostio_last_error_from_errno as hostio_last_error handler. >> * Makefile.in (SFILES): Add hostio.c and hostio-errno.c. >> (hostio-errno.o): New rule. >> * configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs. >> * configure.srv (srv_hostio_err_objs): New variable. Default to >> hostio-errno.o. >> (arm*-*-mingw32ce*): Set srv_hostio_err_objs to "". >> * configure: Regenerate. > > OK. Thanks. Checked in after fixing the issues you pointed out. >> Index: src/gdb/gdbserver/hostio-errno.c Since the contents of this file were mostly copied from hostio.c, I used the same the copyright years (2007, 2008). -- Pedro Alves