summaryrefslogtreecommitdiff
path: root/gdb/inf-ptrace.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2005-12-06 22:05:51 +0000
committerMichael Snyder <msnyder@specifix.com>2005-12-06 22:05:51 +0000
commit27a7177a37f6dff38ec06d202535fed89db7629f (patch)
tree9122b70c56459a003eabd11fa9ae59b252effdf0 /gdb/inf-ptrace.c
parent9f8d66cdfaa88db9ae5916f6a966ef0e68e19742 (diff)
downloadgdb-27a7177a37f6dff38ec06d202535fed89db7629f.tar.gz
2005-12-06 Michael Snyder <msnyder@redhat.com>
* inf-ptrace.c: Fix typos in comments.
Diffstat (limited to 'gdb/inf-ptrace.c')
-rw-r--r--gdb/inf-ptrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index f3c399ea309..4f19e1ab9c5 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;