diff options
author | Joel Brobecker <brobecker@gnat.com> | 2006-09-07 16:22:57 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2006-09-07 16:22:57 +0000 |
commit | 35802f8aafc8aa5ada7f1632274f98baf18a2ab1 (patch) | |
tree | 31842356bcd3e1fe34d61d30b4f390bc3ade4cf5 /gdb/fork-child.c | |
parent | 998afe2133faac31a552436a0915c6bdfa59b3e3 (diff) | |
download | gdb-35802f8aafc8aa5ada7f1632274f98baf18a2ab1.tar.gz |
From Stephan Springl <springl-gdb@bfw-online.de>
* fork-child.c (fork_inferior): Fix typo.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r-- | gdb/fork-child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c index 894015120d6..44049dc2a1a 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -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 |