diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-05 20:37:23 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-05 20:37:23 +0000 |
commit | 9e9547e4851f166d3ef1c3a47de18dba0871fba1 (patch) | |
tree | 3f8c4ccc84f15306de94bf42c6e41f948ff68b81 /gdb/linux-thread-db.c | |
parent | 75083f7e9a4f58849393d486bb24018ca030a1a6 (diff) | |
download | gdb-9e9547e4851f166d3ef1c3a47de18dba0871fba1.zip gdb-9e9547e4851f166d3ef1c3a47de18dba0871fba1.tar.gz gdb-9e9547e4851f166d3ef1c3a47de18dba0871fba1.tar.bz2 |
2010-05-05 Michael Snyder <msnyder@vmware.com>
* linux-thread-db.c (add_thread_db_info): Delete unused variable.
(thread_from_lwp): Delete unused variable.
(enable_thread_event_reporting): Delete unused variable.
(check_for_thread_db): Delete unused variables.
(thread_db_find_new_threads_2): Delete unused variable.
* linux-fork.c (info_checkpoints_command): Delete unused variables.
(checkpoint_command): Delete unused variable.
(linux_fork_context): Delete unused variables.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 2c66da7..006ba41 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -172,7 +172,6 @@ static void thread_db_find_new_threads_2 (ptid_t ptid, int until_no_new); static struct thread_db_info * add_thread_db_info (void *handle) { - int pid; struct thread_db_info *info; info = xcalloc (1, sizeof (*info)); @@ -402,7 +401,6 @@ thread_from_lwp (ptid_t ptid) { td_thrhandle_t th; td_err_e err; - ptid_t thread_ptid; struct thread_db_info *info; struct thread_get_info_inout io = {0}; @@ -527,7 +525,6 @@ static void enable_thread_event_reporting (void) { td_thr_events_t events; - td_notify_t notify; td_err_e err; #ifdef HAVE_GNU_LIBC_VERSION_H const char *libc_version; @@ -959,9 +956,6 @@ check_thread_signals (void) void check_for_thread_db (void) { - td_err_e err; - static void *last_loaded; - /* Do nothing if we couldn't load libthread_db.so.1. */ if (!thread_db_load ()) return; @@ -1440,8 +1434,6 @@ thread_db_find_new_threads_2 (ptid_t ptid, int until_no_new) } else { - td_err_e err; - find_new_threads_once (info, 0, &err); if (err != TD_OK) error (_("Cannot find new threads: %s"), thread_db_err_str (err)); |