Home
last modified time | relevance | path

Searched refs:exec_file (Results 1 – 25 of 35) sorted by relevance

12

/openbsd/gnu/usr.bin/binutils/gdb/
H A Dfork-child.c136 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 Dinftarg.c180 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 Dinf-ptrace.c136 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 Dremote-sim.c428 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 Dinfcmd.c403 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 Dnto-procfs.c506 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 Dwince.c628 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 Dwin32-nat.c1611 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 Dremote-rdi.c331 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 Dtarget.c1510 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 Dgo32-nat.c186 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 Docd.h115 void ocd_create_inferior (char *exec_file, char *args, char **env,
H A Dhpux-thread.c436 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 Dhppah-nat.c1306 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 Dgnu-nat.c2043 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 Dremote-rdp.c1354 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 Dtarget.h702 #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 Dprocfs.c3529 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 Dwince-stub.c237 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 Duw-thread.c804 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 Dthread-db.c1082 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 Dsol-thread.c753 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 Dremote-sds.c983 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 Dmonitor.exp79 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 Dgdb.exp2033 set exec_file [file tail $exec]
2035 set debug_file [file join $debug_dir "${exec_file}.debug"]

12