This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/4] baby step toward multi-target
- From: Doug Evans <xdje42 at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 29 Jul 2014 08:17:11 -0700
- Subject: Re: [PATCH 0/4] baby step toward multi-target
- Authentication-results: sourceware.org; auth=none
- References: <1405711635-1102-1-git-send-email-tromey at redhat dot com> <53D7AE46 dot 8080303 at redhat dot com>
On Tue, Jul 29, 2014 at 7:23 AM, Pedro Alves <palves@redhat.com> wrote:
> On 07/18/2014 08:27 PM, Tom Tromey wrote:
>
>> If this approach seems reasonable then it's not too hard to pull over
>> some of the other target conversions from the branch.
>
> Seems reasonable. We may or not end up doing things completely
> different wrt to the identify issue and target is pushed/not pushed,
> but meanwhile this lets us progress with making it possible to have
> different instances of a target, so it seems good forward progress.
>
> The series looked good to me.
I'd like to review this for a bit more.
I'd like to understand the tradeoffs of this more:
>>This little series, on the other hand, takes a less invasive approach.
>>The idea here is that rather than doing a huge target_ops split,
>>instead just sometimes make copies of the target_ops when pushing.
>>This lets the copies keep their own state; copies are needed in the
>>long run because multiple target stacks will be active and a given
>>target_ops only has one "beneath" pointer.
Thanks.