From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15726 invoked by alias); 27 Apr 2018 15:47:36 -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 14797 invoked by uid 89); 27 Apr 2018 15:47:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=toward, paid X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.201.2) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Apr 2018 15:47:34 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway36.websitewelcome.com (Postfix) with ESMTP id EB6024050BE52 for ; Fri, 27 Apr 2018 10:47:32 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id C5auf1oB95CKDC5aufZLHA; Fri, 27 Apr 2018 10:47:32 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:32890 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fC5au-0014ib-MQ; Fri, 27 Apr 2018 10:47:32 -0500 From: Tom Tromey To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 00/40] C++ify target_ops, toward multi-target References: <20180414190953.24481-1-palves@redhat.com> Date: Fri, 27 Apr 2018 15:47:00 -0000 In-Reply-To: <20180414190953.24481-1-palves@redhat.com> (Pedro Alves's message of "Sat, 14 Apr 2018 20:09:13 +0100") Message-ID: <87in8c648c.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fC5au-0014ib-MQ X-Source-Sender: 97-122-176-117.hlrn.qwest.net (pokyo) [97.122.176.117]:32890 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-04/txt/msg00569.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Here's another chunk from the multi-target branch. Pedro> This converts target_ops to a C++ class with virtual methods. Pedro> The reason this is part of the multi-target effort is that with Pedro> multi-target, we will want to be able to instantiate the remote, core, Pedro> etc. targets more than once at the same time. [...] Pedro> In the end, I'm Pedro> convinced this paid off. As you know I worked on this a bit, without success, a few years ago. I think your approach is definitely the way to go. Tom