From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46322 invoked by alias); 2 May 2018 16:14: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 46308 invoked by uid 89); 2 May 2018 16:14:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=expert, Hx-languages-length:1178 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 May 2018 16:14:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BBCA911773E; Wed, 2 May 2018 12:14:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0dE09kC1iX1O; Wed, 2 May 2018 12:14:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id BA920117506; Wed, 2 May 2018 12:14:24 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 1433983055; Wed, 2 May 2018 09:14:23 -0700 (PDT) Date: Wed, 02 May 2018 16:14:00 -0000 From: Joel Brobecker To: Julio Guerra Cc: Pedro Alves , "gdb-patches@sourceware.org" , Mike Frysinger Subject: Re: [PATCH 3/4] Explicit fixed-width integral File I/O protocol types Message-ID: <20180502161423.b57daq6zke6yxc63@adacore.com> References: <20180428011940.115515-1-julio@farjump.io> <20180428011940.115515-4-julio@farjump.io> <332abe88-4b88-3f06-7141-31a798f2b153@farjump.io> <01020163216ed537-dae77402-9d35-42f2-ad27-64c89137aa03-000000@eu-west-1.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01020163216ed537-dae77402-9d35-42f2-ad27-64c89137aa03-000000@eu-west-1.amazonses.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2018-05/txt/msg00018.txt.bz2 > Since I am talking a lot of embedded software, I CC'd Joel Brobecker > from AdaCore to maybe give the final direction for a v2. I'm not really sure what is expected of me, can you clarify? If you are thinking of my experience with baremetal targets, that's no problem. But, although I do work with C code on baremetal targets, it tends to be in situations where we have a C library (based on newlib, for the most part). Are we talking about the remote File-IO extension? I should say up front that my knowledge of this extension was nearly null until I read the documentation in the manual. I think Pedro is the expert on that. If I understand correctly, you are arguing that we should be providing fileio.h so that programs being debugged can use it? I don't understand how this would integrate with GDB, though. If I understand correctly, this file is used for the definition of some structures used within the remote protocol, so the information exchanged between GDB and GDBserver. How would you exploit that? (what this tells me is that your patch series deserves a documentation update) -- Joel