This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

RFA: Fix typo in linux-threads.c



May I commit this?

2000-03-17  Jim Blandy  <jimb@redhat.com>

	* linux-thread.c (linuxthreads_attach, linuxthreads_detach,
	linuxthreads_create_inferior): Fix typo in variable name: it's
	linuxthreads_exit_status, not linux_exit_status.

Index: linux-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-thread.c,v
retrieving revision 1.4
diff -c -c -r1.4 linux-thread.c
*** linux-thread.c	2000/03/17 19:50:29	1.4
--- linux-thread.c	2000/03/17 21:46:23
***************
*** 1129,1135 ****
    linuxthreads_breakpoints_inserted = 1;
    linuxthreads_breakpoint_last = -1;
    linuxthreads_wait_last = -1;
!   WSETSTOP (linux_exit_status, 0);
  
    child_ops.to_attach (args, from_tty);
  
--- 1129,1135 ----
    linuxthreads_breakpoints_inserted = 1;
    linuxthreads_breakpoint_last = -1;
    linuxthreads_wait_last = -1;
!   WSETSTOP (linuxthreads_exit_status, 0);
  
    child_ops.to_attach (args, from_tty);
  
***************
*** 1189,1195 ****
  	  linuxthreads_find_trap (inferior_pid, 1);
  
  	  linuxthreads_wait_last = -1;
! 	  WSETSTOP (linux_exit_status, 0);
  	}
  
        linuxthreads_inferior_pid = 0;
--- 1189,1195 ----
  	  linuxthreads_find_trap (inferior_pid, 1);
  
  	  linuxthreads_wait_last = -1;
! 	  WSETSTOP (linuxthreads_exit_status, 0);
  	}
  
        linuxthreads_inferior_pid = 0;
***************
*** 1601,1607 ****
    linuxthreads_breakpoints_inserted = 1;
    linuxthreads_breakpoint_last = -1;
    linuxthreads_wait_last = -1;
!   WSETSTOP (linux_exit_status, 0);
    
    if (linuxthreads_max)
      linuxthreads_attach_pending = 1;
--- 1601,1607 ----
    linuxthreads_breakpoints_inserted = 1;
    linuxthreads_breakpoint_last = -1;
    linuxthreads_wait_last = -1;
!   WSETSTOP (linuxthreads_exit_status, 0);
    
    if (linuxthreads_max)
      linuxthreads_attach_pending = 1;

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