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]

[commit] linux-thread-db.c, attach_thread, discard unused value.


Checked in.

2011-02-28  Michael Snyder  <msnyder@vmware.com>

	* linux-thread-db.c (attach_thread): Discard unused value.

Index: linux-thread-db.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-thread-db.c,v
retrieving revision 1.80
diff -u -p -u -p -r1.80 linux-thread-db.c
--- linux-thread-db.c	9 Jan 2011 03:08:57 -0000	1.80
+++ linux-thread-db.c	1 Mar 2011 00:45:10 -0000
@@ -1065,7 +1065,7 @@ attach_thread (ptid_t ptid, const td_thr
 
   /* 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;
 

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