This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 00/40] C++ify target_ops, toward multi-target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]