/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | fork-child.c | 136 static char *exec_file; in fork_inferior() local 143 exec_file = exec_file_arg; in fork_inferior() 144 if (exec_file == 0) in fork_inferior() 145 exec_file = get_exec_file (1); in fork_inferior() 164 len = 5 + 4 * strlen (exec_file) + 1 + strlen (allargs) + 1 + /*slop */ 12; in fork_inferior() 183 argv[0] = exec_file; in fork_inferior() 201 p = exec_file; in fork_inferior() 235 for (p = exec_file; *p != '\0'; ++p) in fork_inferior() 247 strcat (shell_command, exec_file); in fork_inferior() 351 execvp (exec_file, argv); in fork_inferior() [all …]
|
H A D | inftarg.c | 180 char *exec_file; in child_attach() local 198 exec_file = (char *) get_exec_file (0); in child_attach() 200 if (exec_file) in child_attach() 201 printf_unfiltered ("Attaching to program: %s, %s\n", exec_file, in child_attach() 241 char *exec_file = get_exec_file (0); in child_detach() local 242 if (exec_file == 0) in child_detach() 243 exec_file = ""; in child_detach() 244 printf_unfiltered ("Detaching from program: %s, %s\n", exec_file, in child_detach() 330 child_create_inferior (char *exec_file, char *allargs, char **env, in child_create_inferior() argument 334 fork_inferior (exec_file, allargs, env, ptrace_me, ptrace_him, pre_fork_inferior, NULL); in child_create_inferior() [all …]
|
H A D | inf-ptrace.c | 136 inf_ptrace_create_inferior (char *exec_file, char *allargs, char **env, in inf_ptrace_create_inferior() argument 139 fork_inferior (exec_file, allargs, env, inf_ptrace_me, inf_ptrace_him, in inf_ptrace_create_inferior() 189 char *exec_file; in inf_ptrace_attach() local 207 exec_file = get_exec_file (0); in inf_ptrace_attach() 209 if (exec_file) in inf_ptrace_attach() 210 printf_unfiltered (_("Attaching to program: %s, %s\n"), exec_file, in inf_ptrace_attach() 265 char *exec_file = get_exec_file (0); in inf_ptrace_detach() local 266 if (exec_file == 0) in inf_ptrace_detach() 267 exec_file = ""; in inf_ptrace_detach() 268 printf_unfiltered (_("Detaching from program: %s, %s\n"), exec_file, in inf_ptrace_detach()
|
H A D | remote-sim.c | 428 gdbsim_create_inferior (char *exec_file, char *args, char **env, int from_tty) in gdbsim_create_inferior() argument 433 if (exec_file == 0 || exec_bfd == 0) in gdbsim_create_inferior() 440 (exec_file ? exec_file : "(NULL)"), in gdbsim_create_inferior() 447 if (exec_file != NULL) in gdbsim_create_inferior() 449 len = strlen (exec_file) + 1 + strlen (args) + 1 + /*slop */ 10; in gdbsim_create_inferior() 452 strcat (arg_buf, exec_file); in gdbsim_create_inferior()
|
H A D | infcmd.c | 403 char *exec_file; in run_command() local 425 exec_file = (char *) get_exec_file (0); in run_command() 469 if (exec_file) in run_command() 470 ui_out_field_string (uiout, "execfile", exec_file); in run_command() 481 target_create_inferior (exec_file, get_inferior_args (), in run_command() 1766 char *exec_file; in attach_command() local 1806 exec_file = (char *) get_exec_file (0); in attach_command() 1807 if (!exec_file) in attach_command() 1810 if (exec_file) in attach_command() 1820 if (!source_full_path_of (exec_file, &full_exec_path)) in attach_command() [all …]
|
H A D | nto-procfs.c | 506 char *exec_file; in procfs_attach() local 519 exec_file = (char *) get_exec_file (0); in procfs_attach() 521 if (exec_file) in procfs_attach() 522 printf_unfiltered ("Attaching to program `%s', %s\n", exec_file, in procfs_attach() 770 char *exec_file = get_exec_file (0); in procfs_detach() local 771 if (exec_file == 0) in procfs_detach() 772 exec_file = ""; in procfs_detach() 774 exec_file, target_pid_to_str (inferior_ptid)); in procfs_detach() 982 if (exec_file) in procfs_create_inferior() 983 argv[0] = exec_file; in procfs_create_inferior() [all …]
|
H A D | wince.c | 628 create_process (LPSTR exec_file, LPSTR args, DWORD flags, PROCESS_INFORMATION * pi) in create_process() argument 633 buf = towide (exec_file, &len); in create_process() 1720 child_create_inferior (char *exec_file, char *args, char **env, in child_create_inferior() argument 1729 if (!exec_file) in child_create_inferior() 1736 exec_file = upload_to_device (exec_file, exec_file); in child_create_inferior() 1744 exec_and_args = alloca (strlen (exec_file) + 1); in child_create_inferior() 1745 strcpy (exec_and_args, exec_file); in child_create_inferior() 1749 exec_and_args = alloca (strlen (exec_file + strlen (args) + 2)); in child_create_inferior() 1750 sprintf (exec_and_args, "%s %s", exec_file, args); in child_create_inferior() 1755 if (!create_process (exec_file, exec_and_args, flags, &pi)) in child_create_inferior() [all …]
|
H A D | win32-nat.c | 1611 char *exec_file = (char *) get_exec_file (0); in child_attach() local 1613 if (exec_file) in child_attach() 1614 printf_unfiltered ("Attaching to program `%s', %s\n", exec_file, in child_attach() 1646 char *exec_file = get_exec_file (0); in child_detach() local 1647 if (exec_file == 0) in child_detach() 1648 exec_file = ""; in child_detach() 1708 child_create_inferior (char *exec_file, char *allargs, char **env, in child_create_inferior() argument 1727 if (!exec_file) in child_create_inferior() 1736 cygwin_conv_to_win32_path (exec_file, real_path); in child_create_inferior() 1746 newallargs = alloca (sizeof (" -c 'exec '") + strlen (exec_file) in child_create_inferior() [all …]
|
H A D | remote-rdi.c | 331 arm_rdi_create_inferior (char *exec_file, char *args, char **env, int from_tty) in arm_rdi_create_inferior() argument 338 if (exec_file == 0 || exec_bfd == 0) in arm_rdi_create_inferior() 347 len = strlen (exec_file) + 1 + strlen (args) + 1 + /*slop */ 10; in arm_rdi_create_inferior() 350 strcat (arg_buf, exec_file); in arm_rdi_create_inferior()
|
H A D | target.c | 1510 find_default_create_inferior (char *exec_file, char *allargs, char **env, in find_default_create_inferior() argument 1516 (t->to_create_inferior) (exec_file, allargs, env, from_tty); in find_default_create_inferior() 2233 debug_to_create_inferior (char *exec_file, char *args, char **env, in debug_to_create_inferior() argument 2236 debug_target.to_create_inferior (exec_file, args, env, from_tty); in debug_to_create_inferior() 2239 exec_file, args, from_tty); in debug_to_create_inferior() 2465 char *exec_file; in debug_to_pid_to_exec_file() local 2467 exec_file = debug_target.to_pid_to_exec_file (pid); in debug_to_pid_to_exec_file() 2470 pid, exec_file); in debug_to_pid_to_exec_file() 2472 return exec_file; in debug_to_pid_to_exec_file()
|
H A D | go32-nat.c | 186 static void go32_create_inferior (char *exec_file, char *args, char **env, int from_tty); 579 go32_create_inferior (char *exec_file, char *args, char **env, int from_tty) in go32_create_inferior() argument 589 if (exec_file == 0) in go32_create_inferior() 590 exec_file = get_exec_file (1); in go32_create_inferior() 641 if (v2loadimage (exec_file, cmdline, start_state)) in go32_create_inferior() 644 printf_unfiltered ("Load failed for image %s\n", exec_file); in go32_create_inferior()
|
H A D | ocd.h | 115 void ocd_create_inferior (char *exec_file, char *args, char **env,
|
H A D | hpux-thread.c | 436 hpux_thread_create_inferior (char *exec_file, char *allargs, char **env, in hpux_thread_create_inferior() argument 439 deprecated_child_ops.to_create_inferior (exec_file, allargs, env, from_tty); in hpux_thread_create_inferior()
|
H A D | hppah-nat.c | 1306 char *exec_file = target_pid_to_exec_file (pid); in hpux_has_execd() 1307 *execd_pathname = savestring (exec_file, strlen (exec_file)); in hpux_has_execd()
|
H A D | gnu-nat.c | 2043 gnu_create_inferior (char *exec_file, char *allargs, char **env, in gnu_create_inferior() argument 2079 fork_inferior (exec_file, allargs, env, trace_me, attach_to_child, in gnu_create_inferior() 2112 char *exec_file; in gnu_attach() local 2125 exec_file = (char *) get_exec_file (0); in gnu_attach() 2127 if (exec_file) in gnu_attach() 2129 exec_file, pid); in gnu_attach() 2175 char *exec_file = get_exec_file (0); in gnu_detach() local 2176 if (exec_file) in gnu_detach() 2178 exec_file, current_inferior->pid); in gnu_detach()
|
H A D | remote-rdp.c | 1354 remote_rdp_create_inferior (char *exec_file, char *allargs, char **env, in remote_rdp_create_inferior() argument 1359 if (exec_file == 0 || exec_bfd == 0) in remote_rdp_create_inferior() 1369 rdp_set_command_line (exec_file, allargs); in remote_rdp_create_inferior()
|
H A D | target.h | 702 #define target_create_inferior(exec_file, args, env, FROM_TTY) \ argument 703 (*current_target.to_create_inferior) (exec_file, args, env, (FROM_TTY))
|
H A D | procfs.c | 3529 char *exec_file; in procfs_attach() local 3541 exec_file = get_exec_file (0); in procfs_attach() 3543 if (exec_file) in procfs_attach() 3545 exec_file, target_pid_to_str (pid_to_ptid (pid))); in procfs_attach() 3567 char *exec_file; in procfs_detach() local 3569 exec_file = get_exec_file (0); in procfs_detach() 3570 if (exec_file == NULL) in procfs_detach() 3571 exec_file = ""; in procfs_detach() 3573 printf_filtered ("Detaching from program: %s, %s\n", exec_file, in procfs_detach() 5040 procfs_create_inferior (char *exec_file, char *allargs, char **env, in procfs_create_inferior() argument [all …]
|
H A D | wince-stub.c | 237 LPWSTR exec_file = getmemory (L"CreateProcess exec_file", s, GDB_CREATEPROCESS, NULL); in create_process() local 243 res = CreateProcessW (exec_file, in create_process()
|
H A D | uw-thread.c | 804 uw_thread_create_inferior (char *exec_file, char *allargs, char **env, in uw_thread_create_inferior() argument 810 procfs_ops.to_create_inferior (exec_file, allargs, env, from_tty); in uw_thread_create_inferior()
|
H A D | thread-db.c | 1082 thread_db_create_inferior (char *exec_file, char *allargs, char **env, in thread_db_create_inferior() argument 1087 target_beneath->to_create_inferior (exec_file, allargs, env, from_tty); in thread_db_create_inferior()
|
H A D | sol-thread.c | 753 sol_thread_create_inferior (char *exec_file, char *allargs, char **env, in sol_thread_create_inferior() argument 756 procfs_ops.to_create_inferior (exec_file, allargs, env, from_tty); in sol_thread_create_inferior()
|
H A D | remote-sds.c | 983 sds_create_inferior (char *exec_file, char *args, char **env, int from_tty) in sds_create_inferior() argument
|
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/config/ |
H A D | monitor.exp | 79 proc gdb_target_monitor { exec_file } { argument 111 if [gdb_file_cmd $exec_file] { return -1; }
|
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/lib/ |
H A D | gdb.exp | 2033 set exec_file [file tail $exec] 2035 set debug_file [file join $debug_dir "${exec_file}.debug"]
|