aboutsummaryrefslogtreecommitdiff
path: root/nptl_db/structs.def
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-03-26 08:21:10 +0000
committerRoland McGrath <roland@gnu.org>2008-03-26 08:21:10 +0000
commitd11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018 (patch)
treeece3d6ad9788a3b6cc4417198494ed3ebbedce4e /nptl_db/structs.def
parent87b9b50f0d4b92248905e95a06a13c513dc45e59 (diff)
downloadglibc-d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018.zip
glibc-d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018.tar.gz
glibc-d11dc9ecb7c1a759ac3cd4f4c77a9d0cb20fd018.tar.bz2
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.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl_db/structs.def b/nptl_db/structs.def
index f5559cc..75da95a 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)