* linux-thread.c (linuxthreads_attach, linuxthreads_detach,
authorJim Blandy <jimb@codesourcery.com>
Sat, 18 Mar 2000 01:56:31 +0000 (01:56 +0000)
committerJim Blandy <jimb@codesourcery.com>
Sat, 18 Mar 2000 01:56:31 +0000 (01:56 +0000)
linuxthreads_create_inferior): Fix typo in variable name: it's
linuxthreads_exit_status, not linux_exit_status.

gdb/linux-thread.c

index 5539e2ef9f0f10dc58662047110998c7bea71e5d..2b9597db45f004c17c3fcfe83f967bde81496f62 100644 (file)
@@ -1129,7 +1129,7 @@ linuxthreads_attach (args, from_tty)
   linuxthreads_breakpoints_inserted = 1;
   linuxthreads_breakpoint_last = -1;
   linuxthreads_wait_last = -1;
-  WSETSTOP (linux_exit_status, 0);
+  WSETSTOP (linuxthreads_exit_status, 0);
 
   child_ops.to_attach (args, from_tty);
 
@@ -1189,7 +1189,7 @@ linuxthreads_detach (args, from_tty)
          linuxthreads_find_trap (inferior_pid, 1);
 
          linuxthreads_wait_last = -1;
-         WSETSTOP (linux_exit_status, 0);
+         WSETSTOP (linuxthreads_exit_status, 0);
        }
 
       linuxthreads_inferior_pid = 0;
@@ -1601,7 +1601,7 @@ Use the \"file\" or \"exec-file\" command.");
   linuxthreads_breakpoints_inserted = 1;
   linuxthreads_breakpoint_last = -1;
   linuxthreads_wait_last = -1;
-  WSETSTOP (linux_exit_status, 0);
+  WSETSTOP (linuxthreads_exit_status, 0);
   
   if (linuxthreads_max)
     linuxthreads_attach_pending = 1;