* linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment
authorDoug Evans <dje@google.com>
Fri, 1 May 2009 22:05:46 +0000 (22:05 +0000)
committerDoug Evans <dje@google.com>
Fri, 1 May 2009 22:05:46 +0000 (22:05 +0000)
to thread_info.

gdb/ChangeLog
gdb/linux-thread-db.c

index 8f284acf9f751dc522896c3540575a600115dc7f..e12a211576fac4ecc64f1398689f08672bc16bc8 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-01  Doug Evans  <dje@google.com>
+
+       * linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment
+       to thread_info.
+
 2009-05-01  Eli Zaretskii  <eliz@gnu.org>
 
        * record.c (_initialize_record): Reformat and clarify doc strings
index 22f50ccf93c926cf1d4174a353d7a120ae8606f3..be7733e80668344d55ab1bf589f2ccab8804f116 100644 (file)
@@ -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));