On Mon, 24 Feb 2014 00:27:29 +0100, Doug Evans wrote: > The .exp file is missing a test for native Done. > or a call to gdb_remote_download to download the script. I am not sure how to derive there ${targetdir} from ${targetscript} (after ${targetscript} pathname transformatation by gdb_remote_download). BTW I miss a setup for remote host in: https://sourceware.org/gdb/wiki/TestingGDB > You might also want to add a test to verify gdb won't load the wrong > file that it's trying to do now. I do not see such test possible. It now wrongly tries to load the script from filename not using 'set auto-load scripts-directory'. But such filename is correct, it is tested first. If such file exists it really should be loaded first by the code above. Thanks, Jan