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] spelling tweak, s/origional/original/


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

	* inf-ptrace.c: Spelling correction, comment.
	* inf-ttrace.c: Ditto.

Index: inf-ptrace.c
===================================================================
RCS file: /cvs/src/src/gdb/inf-ptrace.c,v
retrieving revision 1.29
diff -p -r1.29 inf-ptrace.c
*** inf-ptrace.c	17 Dec 2005 22:34:01 -0000	1.29
--- inf-ptrace.c	23 Dec 2005 20:47:49 -0000
*************** inf_ptrace_mourn_inferior (void)
*** 173,179 ****
    /* 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);
  
    unpush_target (ptrace_ops_hack);
--- 173,179 ----
    /* 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 original parent.  */
    waitpid (ptid_get_pid (inferior_ptid), &status, 0);
  
    unpush_target (ptrace_ops_hack);
Index: inf-ttrace.c
===================================================================
RCS file: /cvs/src/src/gdb/inf-ttrace.c,v
retrieving revision 1.17
diff -p -r1.17 inf-ttrace.c
*** inf-ttrace.c	17 Dec 2005 22:34:01 -0000	1.17
--- inf-ttrace.c	23 Dec 2005 20:47:49 -0000
*************** inf_ttrace_wait (ptid_t ptid, struct tar
*** 952,958 ****
        if (inf_ttrace_num_lwps == 0)
  	{
  	  /* Now that we're going to be multi-threaded, add the
! 	     origional thread to the list first.  */
  	  add_thread (ptid_build (tts.tts_pid, tts.tts_lwpid, 0));
  	  inf_ttrace_num_lwps++;
  	}
--- 952,958 ----
        if (inf_ttrace_num_lwps == 0)
  	{
  	  /* Now that we're going to be multi-threaded, add the
! 	     original thread to the list first.  */
  	  add_thread (ptid_build (tts.tts_pid, tts.tts_lwpid, 0));
  	  inf_ttrace_num_lwps++;
  	}

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