Lines Matching defs:found_file
116 int found_file = -1;
219 found_file = gdb_open_cloexec (temp_pathname.get (), O_RDONLY | O_BINARY, 0)
227 if (found_file < 0 && sysroot != NULL
237 found_file
240 if (found_file < 0)
252 found_file
259 either found_file >= 0 and temp_pathname is a malloc'd string, or
260 found_file < 0 and temp_pathname does not point to storage that
263 if (found_file < 0)
270 if (found_file < 0 && IS_TARGET_ABSOLUTE_PATH (fskind, in_pathname))
283 if (is_solib && found_file < 0 && !solib_search_path.empty ())
284 found_file = openp (solib_search_path.c_str (),
292 if (is_solib && found_file < 0 && !solib_search_path.empty ())
293 found_file = openp (solib_search_path.c_str (),
299 if (found_file < 0 && sysroot == NULL)
300 found_file = openp (current_inferior ()->environment.get ("PATH"),
306 if (is_solib && found_file < 0 && sysroot == NULL)
307 found_file
314 if (found_file >= 0)
315 close (found_file);
318 *fd = found_file;
436 int found_file;
441 = solib_find (pathname, &found_file);
453 gdb_bfd_ref_ptr abfd (solib_bfd_fopen (found_pathname.get (), found_file));