This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc 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]

GNU C Library master sources branch master updated. glibc-2.27.9000-148-gb717c14


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  b717c14fb1b2b51373d8d0f0217bb53caad59495 (commit)
      from  1efe13586124f536437ee031626f94a2cf2a502a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b717c14fb1b2b51373d8d0f0217bb53caad59495

commit b717c14fb1b2b51373d8d0f0217bb53caad59495
Author: Maciej W. Rozycki <macro@mips.com>
Date:   Thu Mar 1 16:10:05 2018 +0000

    nptl_db: Remove stale `match_pid' parameter from `iterate_thread_list'
    
    Complement commit c579f48edba8 ("Remove cached PID/TID in clone") and
    remove the `match_pid' parameter not used by `iterate_thread_list' any
    longer.  Update call sites accordingly.
    
    	* nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
    	`match_pid' parameter.
    	(td_ta_thr_iter): Update accordingly.

diff --git a/ChangeLog b/ChangeLog
index 1992ccd..4b7e0a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-03-01  Maciej W. Rozycki  <macro@mips.com>
+
+	* nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
+	`match_pid' parameter.
+	(td_ta_thr_iter): Update accordingly.
+
 2018-03-01  Florian Weimer  <fweimer@redhat.com>
 
 	* nptl/Makefile (install-lib-ldscripts): Remove.
diff --git a/nptl_db/td_ta_thr_iter.c b/nptl_db/td_ta_thr_iter.c
index 18ad194..00d6c9a 100644
--- a/nptl_db/td_ta_thr_iter.c
+++ b/nptl_db/td_ta_thr_iter.c
@@ -23,7 +23,7 @@
 static td_err_e
 iterate_thread_list (td_thragent_t *ta, td_thr_iter_f *callback,
 		     void *cbdata_p, td_thr_state_e state, int ti_pri,
-		     psaddr_t head, bool fake_empty, pid_t match_pid)
+		     psaddr_t head, bool fake_empty)
 {
   td_err_e err;
   psaddr_t next, ofs;
@@ -133,18 +133,17 @@ td_ta_thr_iter (const td_thragent_t *ta_arg, td_thr_iter_f *callback,
      have to iterate over both lists separately.  We start with the
      list of threads with user-defined stacks.  */
 
-  pid_t pid = ps_getpid (ta->ph);
   err = DB_GET_SYMBOL (list, ta, __stack_user);
   if (err == TD_OK)
     err = iterate_thread_list (ta, callback, cbdata_p, state, ti_pri,
-			       list, true, pid);
+			       list, true);
 
   /* And the threads with stacks allocated by the implementation.  */
   if (err == TD_OK)
     err = DB_GET_SYMBOL (list, ta, stack_used);
   if (err == TD_OK)
     err = iterate_thread_list (ta, callback, cbdata_p, state, ti_pri,
-			       list, false, pid);
+			       list, false);
 
   return err;
 }

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    6 ++++++
 nptl_db/td_ta_thr_iter.c |    7 +++----
 2 files changed, 9 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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