Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	  teawater <teawater@gmail.com>
Subject: Re: [RFA] Resubmit process record and replay, 4/10
Date: Thu, 20 Nov 2008 06:42:00 -0000	[thread overview]
Message-ID: <4924C66A.4030603@vmware.com> (raw)
In-Reply-To: <200811200151.59213.pedro@codesourcery.com>

Pedro Alves wrote:
> A Thursday 20 November 2008 01:46:05, Michael Snyder escreveu:
>> Seems like a couple of people had some doubts about this
>> particular part of the implementation.
>>
>> Does anyone have any alternative suggestions?
>>
> 
> Sounds like a deficiency of the target interface, as most target_ops
> functions don't take a "this" pointer and do the "beneath"
> lookup themselves.
> 
> Would doing something like this work here? :
> 
>   for (t = current_target.beneath; t != NULL; t = t->beneath)
>     if (t->to_xfer_partial != NULL)
> 	{
> 	  t->to_xfer_partial (...);
> 	  return;
> 	}
> 
>   etc., that is don't stop looking at the immediate
>   target beneath, but look until you find one that suits instead.
> 
> I'd prefer that the core side isn't special cased for
> the record target.  If need be, we can add, change or adapt
> the target interfaces.
> 

I think that you're right that the "target beneath" functionality
is incomplete as it is.


      reply	other threads:[~2008-11-20  2:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-16 23:37 teawater
2008-11-20  4:21 ` Michael Snyder
2008-11-20  4:25   ` Pedro Alves
2008-11-20  6:42     ` Michael Snyder [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4924C66A.4030603@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.com \
    --cc=teawater@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox