From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81286 invoked by alias); 9 Mar 2015 11:58:29 -0000 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 Received: (qmail 81233 invoked by uid 89); 9 Mar 2015 11:58:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 09 Mar 2015 11:58:26 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t29BwP1f027289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 9 Mar 2015 07:58:25 -0400 Received: from blade.nx (ovpn-116-107.ams2.redhat.com [10.36.116.107]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t29BwNh2002830 for ; Mon, 9 Mar 2015 07:58:25 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id BA03926506B for ; Mon, 9 Mar 2015 11:58:22 +0000 (GMT) From: Gary Benson To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Properly implement remote_bfd_iovec_stat Date: Mon, 09 Mar 2015 11:58:00 -0000 Message-Id: <1425902299-2151-1-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00216.txt.bz2 Hi all, While poking around in the remote protocol I noticed that remote_fileio_to_fio_stat is "implemented" like this: static int remote_bfd_iovec_stat (struct bfd *abfd, void *stream, struct stat *sb) { /* FIXME: We should probably implement remote_hostio_stat. */ sb->st_size = INT_MAX; return 0; } This series implements this call properly. Built and regtested on RHEL 6.6 x86_64. Ok to commit? Cheers, Gary -- http://gbenson.net/