From Stephan Springl <springl-gdb@bfw-online.de>
* fork-child.c (fork_inferior): Fix typo.
This commit is contained in:
parent
4e6e4e6696
commit
7a0b019608
2 changed files with 6 additions and 1 deletions
|
@ -277,7 +277,7 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
|
|||
(*pre_trace_fun) ();
|
||||
|
||||
/* Create the child process. Since the child process is going to
|
||||
exec(3) shortlty afterwards, try to reduce the overhead by
|
||||
exec(3) shortly afterwards, try to reduce the overhead by
|
||||
calling vfork(2). However, if PRE_TRACE_FUN is non-null, it's
|
||||
likely that this optimization won't work since there's too much
|
||||
work to do between the vfork(2) and the exec(3). This is known
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue