diff options
author | Roland McGrath <roland@redhat.com> | 2009-11-22 20:42:53 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-12-09 01:01:28 -0800 |
commit | 6f1672172c9c9e5eb5afdcf521e3528b38b2e2dd (patch) | |
tree | f1ca70b5d1c32d593b0c2e825f10c56b49d14c06 /nptl_db/fetch-value.c | |
parent | ee1a7fabb4e0abd3e73e828ce326dcb5fd38b874 (diff) | |
download | glibc-roland/nptl_db.tar glibc-roland/nptl_db.tar.gz glibc-roland/nptl_db.tar.bz2 glibc-roland/nptl_db.zip |
Make libthread_db work without libpthread, just enough for TLS decoding.roland/nptl_db
Diffstat (limited to 'nptl_db/fetch-value.c')
-rw-r--r-- | nptl_db/fetch-value.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nptl_db/fetch-value.c b/nptl_db/fetch-value.c index 0d9bb0eb80..5c97502e20 100644 --- a/nptl_db/fetch-value.c +++ b/nptl_db/fetch-value.c @@ -1,5 +1,5 @@ /* Helper routines for libthread_db. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2009 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,7 +27,7 @@ _td_check_sizeof (td_thragent_t *ta, uint32_t *sizep, int sizep_name) if (*sizep == 0) { psaddr_t descptr; - ps_err_e err = td_lookup (ta->ph, sizep_name, &descptr); + ps_err_e err = td_lookup (ta, sizep_name, &descptr); if (err == PS_NOSYM) return TD_NOCAPAB; if (err == PS_OK) @@ -51,7 +51,7 @@ _td_locate_field (td_thragent_t *ta, { /* Read the information about this field from the inferior. */ psaddr_t descptr; - ps_err_e err = td_lookup (ta->ph, descriptor_name, &descptr); + ps_err_e err = td_lookup (ta, descriptor_name, &descptr); if (err == PS_NOSYM) return TD_NOCAPAB; if (err == PS_OK) |