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

Tom Tromey tom@tromey.com
Fri Apr 27 15:47:00 GMT 2018


>>>>> "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.

Tom



More information about the Gdb-patches mailing list