Lines Matching defs:program
89 /// file. If MAXCOMLEN is defined, then we need to truncate the program name to
106 /// Path to the program being debugged.
116 /// \param program_ Path to the program being debugged. Can be relative to
129 /// not clobber any files created by the program being debugged.
195 /// Looks for a core file for the given program.
197 /// \param program The name of the binary that generated the core file. Can be
199 /// \param status The exit status of the program. This is necessary to gather
201 /// \param work_directory The directory from which the program was run.
205 utils::find_core(const fs::path& program, const process::status& status,
211 (program.leaf_name().substr(0, max_core_name_length) + ".core"));
212 if (program.is_absolute()) {
213 candidates.push_back(program.branch_path() /
214 (program.leaf_name().substr(0, max_core_name_length) + ".core"));
274 /// Gathers a stacktrace of a crashed program.
276 /// \param program The name of the binary that crashed and dumped a core file.
287 utils::dump_stacktrace(const fs::path& program,
314 program, status, exit_handle.work_directory());
323 run_gdb(gdb.get(), program, core_file.get()),
342 /// Gathers a stacktrace of a program if it crashed.
348 /// \param program The name of the binary that crashed and dumped a core file.
361 utils::dump_stacktrace_if_available(const fs::path& program,
369 dump_stacktrace(program, executor_handle, exit_handle);