2005-12-23 Michael Snyder <msnyder@redhat.com>

* inf-ptrace.c: Spelling correction, comment.
	* inf-ttrace.c: Ditto.
This commit is contained in:
Michael Snyder 2005-12-23 20:51:35 +00:00
parent c02a867d91
commit 3d450bdd5f
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-12-23 Michael Snyder <msnyder@redhat.com>
* inf-ptrace.c: Spelling correction, comment.
* inf-ttrace.c: Ditto.
2005-12-23 Eli Zaretskii <eliz@gnu.org> 2005-12-23 Eli Zaretskii <eliz@gnu.org>
* tui/tui-file.c: * tui/tui-file.c:

View file

@ -173,7 +173,7 @@ inf_ptrace_mourn_inferior (void)
/* Wait just one more time to collect the inferior's exit status. /* Wait just one more time to collect the inferior's exit status.
Do not check whether this succeeds though, since we may be Do not check whether this succeeds though, since we may be
dealing with a process that we attached to. Such a process will dealing with a process that we attached to. Such a process will
only report its exit status to its origional parent. */ only report its exit status to its original parent. */
waitpid (ptid_get_pid (inferior_ptid), &status, 0); waitpid (ptid_get_pid (inferior_ptid), &status, 0);
unpush_target (ptrace_ops_hack); unpush_target (ptrace_ops_hack);

View file

@ -952,7 +952,7 @@ inf_ttrace_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
if (inf_ttrace_num_lwps == 0) if (inf_ttrace_num_lwps == 0)
{ {
/* Now that we're going to be multi-threaded, add the /* Now that we're going to be multi-threaded, add the
origional thread to the list first. */ original thread to the list first. */
add_thread (ptid_build (tts.tts_pid, tts.tts_lwpid, 0)); add_thread (ptid_build (tts.tts_pid, tts.tts_lwpid, 0));
inf_ttrace_num_lwps++; inf_ttrace_num_lwps++;
} }