This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 00/40] C++ify target_ops, toward multi-target
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 2 May 2018 23:55:42 +0100
- Subject: Re: [PATCH 00/40] C++ify target_ops, toward multi-target
- References: <20180414190953.24481-1-palves@redhat.com> <87in8c648c.fsf@tromey.com>
On 04/27/2018 04:47 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> 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.
Thanks Tom. I wouldn't say without success at all -- you finished
important groundwork at the time, like for example all the
delegation cleaning up and normalization. Remember that 200 patch
series? :-) And of course the ideas on my branch draw lessons from
your earlier experiments.
Thanks,
Pedro Alves