From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113259 invoked by alias); 8 Oct 2018 02:02:16 -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 113204 invoked by uid 89); 8 Oct 2018 02:02:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:Roundcube, H*u:Webmail, H*u:Roundcube, H*UA:Webmail X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Oct 2018 02:02:07 +0000 Received: by simark.ca (Postfix, from userid 112) id 6A7001EA6B; Sun, 7 Oct 2018 22:02:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=simark.ca; s=mail; t=1538964126; bh=ic7RLbATI1Uc//MrotHrXdyo/VfS/44n2ZqI09VaHtQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BnOdj3JdDm0kYcnbn5oOIFUwPkkqvwzKJ9yBpRwMdTQ7D9sbG9gCMb6cgzTStZ+SA zyKxGajTmhHw0a3BmKwRMn7lXgp3enl6j8GSkxjTJVqxvNchysqXkxr+EdM3rbBI1V AoBqd+9Z/YAIrLJRhIalR8ZZbRaZ6Qa7B/MxT/PQ= Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id B046C1E52B; Sun, 7 Oct 2018 22:02:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=simark.ca; s=mail; t=1538964125; bh=ic7RLbATI1Uc//MrotHrXdyo/VfS/44n2ZqI09VaHtQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QeFrfmdMN3kph/4BZuwfmtq3zZioY50BflEQrOwrbsZKDo6L1EVVuRJV/oyqHF+aW Gw+fzTyD0jdRmJqLoYUcayX0KKmVejYqPi9f8jVW+1JzAJMUKX6fqBNTL50LMq+03E 08znfDKBgwEZMzXCLfmvD+QUMUSTlmL3Oe9CQGBQ= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 08 Oct 2018 02:02:00 -0000 From: Simon Marchi To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [RFC 3/8] Add output styles to gdb In-Reply-To: <87pnwlcmmj.fsf@tromey.com> References: <20180906211303.11029-1-tom@tromey.com> <20180906211303.11029-4-tom@tromey.com> <87va6eevyo.fsf@tromey.com> <87pnwlcmmj.fsf@tromey.com> Message-ID: X-Sender: simark@simark.ca User-Agent: Roundcube Webmail/1.3.6 X-SW-Source: 2018-10/txt/msg00166.txt.bz2 On 2018-10-07 20:23, Tom Tromey wrote: > Simon> Indeed, but at least it's not external API, so we have the > option to change. > > The main thing I am concerned about is that if we pick the approach > I've > implemented, then changing our minds to a format-based approach will be > harder. I think that's the case because the user-facing "set"s would > be > hard to migrate to a format-based approach. > > And, FWIW, I think the format-based approach isn't super hard to > implement. The main problems there are design problems: whether to > remap the names of tables and fields; how to handle the trouble cases I > found in my initial investigation; and of course whether there are more > difficult cases lurking. Ok, so I'd like to understand better the idea of the format-based approach, maybe I don't quite get what you mean. It would be easier to comment on something concrete (even without code, just a relatively well-defined description of the format). Simon