[obv] Remove unused assignment to thread_info in thread_db_pid_to_str
Doug Evans
dje@google.com
Fri May 1 22:08:00 GMT 2009
Hi.
Checked in as obvious.
2009-05-01 Doug Evans <dje@google.com>
* linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment
to thread_info.
Index: linux-thread-db.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-thread-db.c,v
retrieving revision 1.54
diff -u -p -r1.54 linux-thread-db.c
--- linux-thread-db.c 27 Feb 2009 20:34:41 -0000 1.54
+++ linux-thread-db.c 1 May 2009 22:04:15 -0000
@@ -1035,7 +1035,6 @@ thread_db_pid_to_str (struct target_ops
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));
More information about the Gdb-patches
mailing list