]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2011-02-28 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 1 Mar 2011 00:46:09 +0000 (00:46 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 1 Mar 2011 00:46:09 +0000 (00:46 +0000)
* linux-thread-db.c (attach_thread): Discard unused value.

gdb/ChangeLog
gdb/linux-thread-db.c

index df1b418760b8027e794503609ce089550fe46502..41d619690f35f64fa31993f9be78e89ad020a1ae 100644 (file)
@@ -1,5 +1,7 @@
 2011-02-28  Michael Snyder  <msnyder@vmware.com>
 
+       * linux-thread-db.c (attach_thread): Discard unused value.
+
        * linux-nat.c (linux_handle_extended_wait): Delete unused variable.
 
        * remote.c (remote_get_noisy_reply): Discard unused value.
index 9f360b9fe6145dc98b81aa38c480a654db2f6105..005a34a60b13d81897aea76c7fad834908373593 100644 (file)
@@ -1065,7 +1065,7 @@ attach_thread (ptid_t ptid, const td_thrhandle_t *th_p,
 
   /* Add the thread to GDB's thread list.  */
   if (tp == NULL)
-    tp = add_thread_with_info (ptid, private);
+    add_thread_with_info (ptid, private);
   else
     tp->private = private;