Home
last modified time | relevance | path

Searched refs:scratch_chan (Results 1 – 5 of 5) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/gdb/
Dexec.c386 int scratch_chan; in exec_file_attach() local
407 scratch_chan = -1; in exec_file_attach()
412 scratch_chan = openp (getenv ("PATH"), OPF_TRY_CWD_FIRST, in exec_file_attach()
417 if (scratch_chan < 0) in exec_file_attach()
423 scratch_chan = openp (getenv ("PATH"), OPF_TRY_CWD_FIRST, in exec_file_attach()
428 if (scratch_chan < 0) in exec_file_attach()
432 if (scratch_chan < 0) in exec_file_attach()
446 FOPEN_RUB, scratch_chan); in exec_file_attach()
448 temp = gdb_bfd_open (canonical_pathname, gnutarget, scratch_chan); in exec_file_attach()
Dtracefile-tfile.c455 int scratch_chan; in tfile_target_open() local
474 scratch_chan = gdb_open_cloexec (filename.get (), flags, 0).release (); in tfile_target_open()
475 if (scratch_chan < 0) in tfile_target_open()
483 trace_fd = scratch_chan; in tfile_target_open()
Dcorelow.c612 int scratch_chan; in core_target_open() local
635 scratch_chan = gdb_open_cloexec (filename.get (), flags, 0).release (); in core_target_open()
636 if (scratch_chan < 0) in core_target_open()
641 scratch_chan)); in core_target_open()
DChangeLog-20081005 * exec.c (exec_file_attach): Close scratch_chan on failure.
DChangeLog-20126644 * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen