This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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));
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]