From f010475de6046b5466d33def59b1402a885e3418 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 6 Dec 2005 22:05:51 +0000 Subject: [PATCH] 2005-12-06 Michael Snyder * inf-ptrace.c: Fix typos in comments. --- gdb/ChangeLog | 4 ++++ gdb/inf-ptrace.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd38119aa01..26d61226eae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-12-06 Michael Snyder + + * inf-ptrace.c: Fix typos in comments. + 2005-12-06 Serge Chatroux * mi/mi-interp.c (mi_interpreter_resume): Route target error 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; -- 2.30.2