This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make file transfer commands work with all (native) targets.
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 28 Jun 2013 11:35:05 -0600
- Subject: Re: [PATCH] Make file transfer commands work with all (native) targets.
- References: <1371835506-15691-1-git-send-email-tromey at redhat dot com> <1371835506-15691-5-git-send-email-tromey at redhat dot com> <51C880C5 dot 6050307 at redhat dot com> <87bo6rmhin dot fsf at fleche dot redhat dot com> <51CDBAF6 dot 4040209 at redhat dot com>
>>>>> "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