Re: [PATCH] Make file transfer commands work with all (native) targets.

Tom Tromey
2013-06-28T17:35:11Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> Actually, doing this is quite easy, so I went ahead, in the name
Pedro> of local/remote feature parity. We can connect to a local gdbserver
Pedro> and do file transfer in the local system; there seems to be no
Pedro> reason we can't do it with native debugging too.

Looks good to me.

Pedro> If this looks good, then a followup could move these routines
Pedro> out of remote.c, and file-transfer.exp out of gdb.server/.

Pedro> I considered aliasing "target put/get/delete" to "remote put/get/delete",
Pedro> but didn't do it,as I didn't want to do too much in case you guys didn't
Pedro> like this. The MI commands, and their description in the manual are
Pedro> already target agnostic.

I could go either way on this.

Tom