This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] linux-thread-db.c, attach_thread, discard unused value.
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 28 Feb 2011 16:47:17 -0800
- Subject: [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;