This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OBVIOUS] Fix typos in comments, inf-ptrace.c


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

	* inf-ptrace.c: Fix typos in comments.

Index: inf-ptrace.c
===================================================================
RCS file: /cvs/src/src/gdb/inf-ptrace.c,v
retrieving revision 1.27
diff -p -r1.27 inf-ptrace.c
*** inf-ptrace.c	21 Nov 2005 09:11:44 -0000	1.27
--- inf-ptrace.c	6 Dec 2005 19:49:55 -0000
*************** inf_ptrace_mourn_inferior (void)
*** 171,177 ****
    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
       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);
--- 171,177 ----
    int status;
  
    /* Wait just one more time to collect the inferior's exit status.
!      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);
*************** inf_ptrace_post_attach (int pid)
*** 252,258 ****
  #endif
  
  /* Detach from the inferior, optionally passing it the signal
!    specified ARGS.  If FROM_TTY is non-zero, be chatty about it.  */
  
  static void
  inf_ptrace_detach (char *args, int from_tty)
--- 252,258 ----
  #endif
  
  /* Detach from the inferior, optionally passing it the signal
!    specified by ARGS.  If FROM_TTY is non-zero, be chatty about it.  */
  
  static void
  inf_ptrace_detach (char *args, int from_tty)
*************** inf_ptrace_detach (char *args, int from_
*** 274,280 ****
  
  #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
       previously attached to the inferior.  It *might* work if we
       started the process ourselves.  */
    errno = 0;
--- 274,280 ----
  
  #ifdef PT_DETACH
    /* We'd better not have left any breakpoints in the program or it'll
!      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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]