Deleted Added
full compact
29c29
< __FBSDID("$FreeBSD: head/lib/libthread_db/libthr_db.c 180982 2008-07-30 00:59:19Z marcel $");
---
> __FBSDID("$FreeBSD: head/lib/libthread_db/libthr_db.c 181341 2008-08-06 03:14:18Z marcel $");
248,252c248,250
< pt_ta_thr_iter(const td_thragent_t *ta,
< td_thr_iter_f *callback, void *cbdata_p,
< td_thr_state_e state, int ti_pri,
< sigset_t *ti_sigmask_p,
< unsigned int ti_user_flags)
---
> pt_ta_thr_iter(const td_thragent_t *ta, td_thr_iter_f *callback,
> void *cbdata_p, td_thr_state_e state __unused, int ti_pri __unused,
> sigset_t *ti_sigmask_p __unused, unsigned int ti_user_flags __unused)
291c289
< char *keytable;
---
> void *keytable;
307,310c305,308
< allocated = *(int *)(keytable + i * ta->thread_size_key +
< ta->thread_off_key_allocated);
< destructor = *(void **)(keytable + i * ta->thread_size_key +
< ta->thread_off_key_destructor);
---
> allocated = *(int *)(void *)((uintptr_t)keytable +
> i * ta->thread_size_key + ta->thread_off_key_allocated);
> destructor = *(void **)(void *)((uintptr_t)keytable +
> i * ta->thread_size_key + ta->thread_off_key_destructor);
425c423
< td_thragent_t *ta = (td_thragent_t *)th->th_ta;
---
> const td_thragent_t *ta = th->th_ta;
665c663
< td_thragent_t *ta = (td_thragent_t *)th->th_ta;
---
> const td_thragent_t *ta = th->th_ta;
706c704
< pt_thr_sstep(const td_thrhandle_t *th, int step)
---
> pt_thr_sstep(const td_thrhandle_t *th, int step __unused)