mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
2002-12-04 Ulrich Drepper <drepper@redhat.com> * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read pointer to the next element from inferior.
This commit is contained in:
parent
c4a6d85994
commit
abbd6175b4
@ -97,7 +97,7 @@ int
|
|||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
int argc = 2;
|
int argc = 2;
|
||||||
char *argv[3] = { "tst-argp1", "--help", NULL };
|
char *argv[3] = { (char *) "tst-argp1", (char *) "--help", NULL };
|
||||||
int remaining;
|
int remaining;
|
||||||
|
|
||||||
/* Parse and process arguments. */
|
/* Parse and process arguments. */
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-12-04 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
|
||||||
|
pointer to the next element from inferior.
|
||||||
|
|
||||||
2002-12-02 Roland McGrath <roland@redhat.com>
|
2002-12-02 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
|
* td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys
|
||||||
|
@ -90,6 +90,11 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback,
|
|||||||
return TD_DBERR;
|
return TD_DBERR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Get the pointer to the next element. */
|
||||||
|
if (ps_pdread (ta->ph, &((struct pthread *) addr)->header.data.list,
|
||||||
|
&list, sizeof (list_t)) != PS_OK)
|
||||||
|
return TD_ERR; /* XXX Other error value? */
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user