From: Doug Evans Date: Fri, 1 May 2009 22:05:46 +0000 (+0000) Subject: * linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee78f3e59811f1e5898f9267f95d9d5bc30af43f;p=binutils-gdb.git * linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment to thread_info. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8f284acf9f7..e12a211576f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-05-01 Doug Evans + + * linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment + to thread_info. + 2009-05-01 Eli Zaretskii * record.c (_initialize_record): Reformat and clarify doc strings diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 22f50ccf93c..be7733e8066 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -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));