diff options
author | Roland McGrath <roland@gnu.org> | 2008-03-26 08:21:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2008-03-26 08:21:10 +0000 |
commit | d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018 (patch) | |
tree | ece3d6ad9788a3b6cc4417198494ed3ebbedce4e /nptl_db/structs.def | |
parent | 87b9b50f0d4b92248905e95a06a13c513dc45e59 (diff) | |
download | glibc-d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018.tar.gz glibc-d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018.tar.xz glibc-d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018.zip |
2008-03-25 Roland McGrath <roland@redhat.com>
* structs.def: Add pid field of struct pthread. * td_ta_thr_iter.c (iterate_thread_list): Take new arg MATCH_PID. If a thread's pid does not match nor is < 0 while its tid matches nor is < 0 and equal to -MATCH_PID, ignore it. * td_thr_validate.c (td_thr_validate): Validate thread's pid/tid.
Diffstat (limited to 'nptl_db/structs.def')
-rw-r--r-- | nptl_db/structs.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl_db/structs.def b/nptl_db/structs.def index f5559ccb06..75da95a36e 100644 --- a/nptl_db/structs.def +++ b/nptl_db/structs.def @@ -1,5 +1,5 @@ /* List of types and symbols in libpthread examined by libthread_db. - Copyright (C) 2003, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,6 +27,7 @@ DB_STRUCT (pthread) DB_STRUCT_FIELD (pthread, list) DB_STRUCT_FIELD (pthread, report_events) DB_STRUCT_FIELD (pthread, tid) +DB_STRUCT_FIELD (pthread, pid) DB_STRUCT_FIELD (pthread, start_routine) DB_STRUCT_FIELD (pthread, cancelhandling) DB_STRUCT_FIELD (pthread, schedpolicy) |