aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-01 00:46:09 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-01 00:46:09 +0000
commit2e4565703653d2936ee3588768df6a7d70b1de1d (patch)
treefe01a566de7719320c9f13284f8c0cafa5bb6a25 /gdb/linux-thread-db.c
parent14571dad8b3b3bef3f6d11314f77cfeaeadfb4c5 (diff)
downloadgdb-2e4565703653d2936ee3588768df6a7d70b1de1d.zip
gdb-2e4565703653d2936ee3588768df6a7d70b1de1d.tar.gz
gdb-2e4565703653d2936ee3588768df6a7d70b1de1d.tar.bz2
2011-02-28 Michael Snyder <msnyder@vmware.com>
* linux-thread-db.c (attach_thread): Discard unused value.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 9f360b9..005a34a 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -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;