Clean up whitespace in S/390 -tdep and -nat files.
[binutils-gdb.git] / gdb / nto-tdep.c
index fa31f140dfabcf4f71f7af63b19ec529ec23d452..5ec746d61a22e019c224809f78988a7952e5d9d5 100644 (file)
@@ -128,7 +128,8 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
             arch_path);
 
   base = lbasename (solib);
-  ret = openp (buf, 1, base, o_flags, temp_pathname);
+  ret = openp (buf, OPF_TRY_CWD_FIRST | OPF_RETURN_REALPATH, base, o_flags,
+              temp_pathname);
   if (ret < 0 && base != solib)
     {
       xsnprintf (arch_path, arch_len, "/%s", solib);