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] Copy .py files to remote host


On Tue, Aug 12, 2014 at 10:50 PM, Doug Evans <dje@google.com> wrote:
> On Tue, Aug 12, 2014 at 8:09 PM, Doug Evans <dje@google.com> wrote:
>> On Tue, Aug 12, 2014 at 5:52 PM, Yao Qi <yao@codesourcery.com> wrote:
>>> On 08/13/2014 01: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?

Oops, I meant remote host here.
Bleah, sorry about that.

>>> Yes, at least shared libs downloaded to target are cleaned up.
>>> In lib/gdb.exp, there is a list cleanfiles, to record the files
>>> downloaded to target, and in gdb_finish, remove files in this list.
>>
>> Yeah, we keep track of files downloaded to the target.
>> Can we do something similar for the host?
>
> Though I should also say every time I've used a system that tries to
> clean up after itself too much I generally grow to dislike it -
> debugging failures gets harder because the files are gone.
> If possible, I'd rather do a cleanup of the previous run beforehand
> and just leave the results lying around afterwards (and often it's
> easy because something simple like rm -rf $something is all that's
> needed).


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