From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11533 invoked by alias); 3 Dec 2007 13:41:20 -0000 Received: (qmail 11461 invoked by uid 22791); 3 Dec 2007 13:41:18 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Dec 2007 13:41:10 +0000 Received: from ICSMULLER (laocoon.u-strasbg.fr [130.79.112.72]) by ics.u-strasbg.fr (Postfix) with ESMTP id 8C33818701A; Mon, 3 Dec 2007 14:45:31 +0100 (CET) From: "Pierre Muller" To: "'Daniel Jacobowitz'" Cc: References: <20071029203042.GA26597@caradoc.them.org> <000001c83592$071fefd0$155fcf70$@u-strasbg.fr> <20071203125636.GA18863@caradoc.them.org> In-Reply-To: <20071203125636.GA18863@caradoc.them.org> Subject: RE: [rfc] Remote file transfer support Date: Mon, 03 Dec 2007 13:41:00 -0000 Message-ID: <002101c835b2$28790610$796b1230$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us 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: 2007-12/txt/msg00047.txt.bz2 > Sorry, I should have remembered that. Does this patch work? Yes, this fixes the compilation problem for mingw32, thanks. I did not have the time to test the produced executable... Pierre > -- > Daniel Jacobowitz > CodeSourcery > > 2007-12-03 Daniel Jacobowitz > > * config.in, configure: Regenerated. > * configure.ac: Check for pread and pwrite. > * hostio.c (handle_pread): Fall back to lseek and read. > (handle_pwrite): Fall back to lseek and write.