This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Remove unused assignment to thread_info in thread_db_pid_to_str
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Fri, 1 May 2009 15:08:01 -0700 (PDT)
- Subject: [obv] Remove unused assignment to thread_info in thread_db_pid_to_str
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));