Fix and improve comment in gdb_remote_download
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 13 Apr 2016 14:47:29 +0000 (10:47 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 13 Apr 2016 14:47:29 +0000 (10:47 -0400)
commit8392fa22d69113602407281cbb364f29557c39b1
tree62fc904d02357d9f8f21c7ebbf7150ccc5759834
parentfd85a6a1f6aa4abe1c908b909fdb659ac574e5c7
Fix and improve comment in gdb_remote_download

This patch fixes the current comment in gdb_remote_download, which is
false (the "except if that's already where it is" part).  It also
improves it, by explaining why pass TOFILE through standard_output_file,
even it is an absolute path.

gdb/testsuite/ChangeLog:

* lib/gdb.exp (gdb_remote_download): Fix and extend comment.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp