Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [obv] Remove unused assignment to thread_info in thread_db_pid_to_str
@ 2009-05-01 22:08 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-05-01 22:08 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-01 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-01 22:08 [obv] Remove unused assignment to thread_info in thread_db_pid_to_str Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox