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] Make file transfer commands work with all (native) targets.


>> Yeah, I admit it fits more in the general "as fewer differences
>> we have between local/remote debugging, the better" theme than
>> driven by a particular use case.  A possible example would be something
>> like gdb scripts working the same whether connected to a remote
>> or local target (and unaware of whether the local target is implemented
>> by local gdbserver or the native built-in target).

Eli> But putting files on a remote target puts them on the board, no?
Eli> There's no analogous place in native debugging.

There's the local filesystem.
You can run gdbserver locally and still use these commands.

>> > Without a good use case, having "remote get" serve like a poor man's
>> > 'cp' is confusing, IMO.
>> 
>> Would you be OK with, or prefer, adding "target get/put/delete", leaving
>> the "remote" variants in place?

Eli> I guess so, but then won't you lose backward compatibility?

He means to leave the "remote" variants in place.

Tom


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