aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2005-12-06 22:05:51 +0000
committerMichael Snyder <msnyder@vmware.com>2005-12-06 22:05:51 +0000
commitf010475de6046b5466d33def59b1402a885e3418 (patch)
treedf73d687ceffede438b38ae2d0f08e294ee52e3b
parent48ad829861f7303e638ade7f5b2ac9a745850eef (diff)
downloadgdb-f010475de6046b5466d33def59b1402a885e3418.zip
gdb-f010475de6046b5466d33def59b1402a885e3418.tar.gz
gdb-f010475de6046b5466d33def59b1402a885e3418.tar.bz2
2005-12-06 Michael Snyder <msnyder@redhat.com>
* inf-ptrace.c: Fix typos in comments.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/inf-ptrace.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fd38119..26d6122 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-06 Michael Snyder <msnyder@redhat.com>
+
+ * inf-ptrace.c: Fix typos in comments.
+
2005-12-06 Serge Chatroux <serge.chatroux@st.com>
* mi/mi-interp.c (mi_interpreter_resume): Route target error
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index f3c399e..4f19e1a 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -171,7 +171,7 @@ inf_ptrace_mourn_inferior (void)
int status;
/* Wait just one more time to collect the inferior's exit status.
- Don 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
only report its exit status to its origional parent. */
waitpid (ptid_get_pid (inferior_ptid), &status, 0);
@@ -252,7 +252,7 @@ inf_ptrace_post_attach (int pid)
#endif
/* Detach from the inferior, optionally passing it the signal
- specified ARGS. If FROM_TTY is non-zero, be chatty about it. */
+ specified by ARGS. If FROM_TTY is non-zero, be chatty about it. */
static void
inf_ptrace_detach (char *args, int from_tty)
@@ -274,7 +274,7 @@ inf_ptrace_detach (char *args, int from_tty)
#ifdef PT_DETACH
/* We'd better not have left any breakpoints in the program or it'll
- die when it hits one. Alsno note that this may only work if we
+ die when it hits one. Also note that this may only work if we
previously attached to the inferior. It *might* work if we
started the process ourselves. */
errno = 0;