aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-05-01 22:05:46 +0000
committerDoug Evans <dje@google.com>2009-05-01 22:05:46 +0000
commitee78f3e59811f1e5898f9267f95d9d5bc30af43f (patch)
treeff9700b54dd485c7ebd4b6a653e219688d7b40b8 /gdb/linux-thread-db.c
parent299a410e8db4544df745d1d1037d4df0256a1835 (diff)
downloadbinutils-ee78f3e59811f1e5898f9267f95d9d5bc30af43f.zip
binutils-ee78f3e59811f1e5898f9267f95d9d5bc30af43f.tar.gz
binutils-ee78f3e59811f1e5898f9267f95d9d5bc30af43f.tar.bz2
* linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment
to thread_info.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r--gdb/linux-thread-db.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 22f50cc..be7733e 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -1035,7 +1035,6 @@ thread_db_pid_to_str (struct target_ops *ops, ptid_t ptid)
thread_t tid;
tid = thread_info->private->tid;
- thread_info = find_thread_pid (ptid);
snprintf (buf, sizeof (buf), "Thread 0x%lx (LWP %ld)",
tid, GET_LWP (ptid));