* gdb/remote.c (remote_open_1): Do preopen tasks before