Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: Stan Shebs <stanshebs@earthlink.net>
Cc: Yao Qi <yao@codesourcery.com>, gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Copy .py files to remote host
Date: Wed, 13 Aug 2014 10:28:00 -0000	[thread overview]
Message-ID: <CADPb22Tf2Zeh912mSCTBdZCs5jVbLYfutEAUssOVV-GkxOfbbg@mail.gmail.com> (raw)
In-Reply-To: <53EAA9C3.2090303@earthlink.net>

On Tue, Aug 12, 2014 at 4:56 PM, Stan Shebs <stanshebs@earthlink.net> wrote:
> On 8/12/14, 10:15 AM, Doug Evans wrote:
>> [...]
>> I still have an outstanding question on this topic,
>> and before this gets checked in I'd like to get it resolved.
>> Do we delete other files downloaded to the remote target?

[For clarity's sake: I meant to say "remote host" here, not "remote target".]

> Going by instances of remote_file delete in the testsuite,
> it's at least semi-standard to do so.  It certainly reduces
> the chances of confusion for any functionality that is based
> on searching for a matching file to load/process.

To collect some data, I ran an experiment to see what kinds of files
were left on the remote host.
I didn't use boards/local-remote-host*, I wanted to get something
closer to real remote host testing and remove any possible confusion
on my part.
It took a bit and in the end I made a simple albeit ugly hack to my
.bashrc since I just wanted to collect some data.

I see source files, object files, binaries left on the remote host.
That's what I expected, and that's what led me to say:

>>Since we've gotten by this long without doing so
>>[and this is *still* just a hypothesis - I haven't worked with
>>remote hosts in awhile ...]
>>I would rather just punt on deleting python files as well,
>>and document that that is the convention (since for every other
>>file it already is :-)).

I think my claim that that is already the convention for every other
file is at least not totally invalid. :-)

Maybe effort went into cleaning up remote target files because they
can have vastly smaller file systems.

btw, t would be good to have another version of local-remote-host*
that more closely mapped real remote host testing to improve coverage,
assuming remote host testing is still done by someone these days
(possible alright).


  parent reply	other threads:[~2014-08-13 10:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 13:15 Yao Qi
2014-08-12 17:15 ` Doug Evans
2014-08-12 23:57   ` Stan Shebs
2014-08-13  0:12     ` Doug Evans
2014-08-13 10:28     ` Doug Evans [this message]
2014-08-13  0:56   ` Yao Qi
2014-08-13  3:09     ` Doug Evans
2014-08-13  5:50       ` Doug Evans
2014-08-13  5:52         ` Doug Evans

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=CADPb22Tf2Zeh912mSCTBdZCs5jVbLYfutEAUssOVV-GkxOfbbg@mail.gmail.com \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=stanshebs@earthlink.net \
    --cc=yao@codesourcery.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