diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-01 00:46:09 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-01 00:46:09 +0000 |
commit | 2e4565703653d2936ee3588768df6a7d70b1de1d (patch) | |
tree | fe01a566de7719320c9f13284f8c0cafa5bb6a25 | |
parent | 14571dad8b3b3bef3f6d11314f77cfeaeadfb4c5 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/linux-thread-db.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df1b418..41d6196 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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; |