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 | 7a0b019608c711103302293b080ceee97f67af6c (patch) | |
tree | 961352f44765ce9072657065670e2ae4b3b4ada6 /gdb | |
parent | 4e6e4e66960ce42a65389762ecf7e860c6540bfa (diff) | |
download | gdb-7a0b019608c711103302293b080ceee97f67af6c.zip gdb-7a0b019608c711103302293b080ceee97f67af6c.tar.gz gdb-7a0b019608c711103302293b080ceee97f67af6c.tar.bz2 |
From Stephan Springl <springl-gdb@bfw-online.de>
* fork-child.c (fork_inferior): Fix typo.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/fork-child.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f87a3a1..1b61727 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-09-07 Joel Brobecker <brobecker@adacore.com> + + From Stephan Springl <springl-gdb@bfw-online.de> + * fork-child.c (fork_inferior): Fix typo. + 2006-08-28 DJ Delorie <dj@redhat.com> * m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd diff --git a/gdb/fork-child.c b/gdb/fork-child.c index 8940151..44049dc 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 |