Date: Wed, 2 Aug 2006 23:38:49 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103075 for review Message-ID: <200608022338.k72Ncn4f027730@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103075 Change 103075 by marcel@marcel_nfs on 2006/08/02 23:37:52 o Eliminate prfpregset_t and prgregset_t. o Remove prototypes for ps_lgetxmmregs and ps_lsetxmmregs. Affected files ... .. //depot/projects/gdb/lib/libthread_db/libc_r_db.c#7 edit .. //depot/projects/gdb/lib/libthread_db/libpthread_db.c#6 edit .. //depot/projects/gdb/lib/libthread_db/libthr_db.c#7 edit .. //depot/projects/gdb/lib/libthread_db/thread_db.c#6 edit .. //depot/projects/gdb/lib/libthread_db/thread_db.h#10 edit .. //depot/projects/gdb/lib/libthread_db/thread_db_int.h#8 edit Differences ... ==== //depot/projects/gdb/lib/libthread_db/libc_r_db.c#7 (text+ko) ==== @@ -35,8 +35,8 @@ #include "thread_db_int.h" -void libc_r_md_getfpregs(jmp_buf jb, prfpregset_t *); -void libc_r_md_getgregs(jmp_buf jb, prgregset_t); +void libc_r_md_getfpregs(jmp_buf jb, fpregset_t *); +void libc_r_md_getgregs(jmp_buf jb, gregset_t *); struct td_thragent { TD_THRAGENT_FIELDS; @@ -237,7 +237,7 @@ #endif static td_err_e -libc_r_db_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *r) +libc_r_db_thr_getfpregs(const td_thrhandle_t *th, fpregset_t *r) { jmp_buf jb; const td_thragent_t *ta; @@ -262,7 +262,7 @@ } static td_err_e -libc_r_db_thr_getgregs(const td_thrhandle_t *th, prgregset_t r) +libc_r_db_thr_getgregs(const td_thrhandle_t *th, gregset_t *r) { jmp_buf jb; const td_thragent_t *ta; @@ -301,13 +301,13 @@ #endif static td_err_e -libc_r_db_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *r) +libc_r_db_thr_setfpregs(const td_thrhandle_t *th, const fpregset_t *r) { return (TD_ERR); } static td_err_e -libc_r_db_thr_setgregs(const td_thrhandle_t *th, const prgregset_t r) +libc_r_db_thr_setgregs(const td_thrhandle_t *th, const gregset_t *r) { return (TD_ERR); } ==== //depot/projects/gdb/lib/libthread_db/libpthread_db.c#6 (text+ko) ==== @@ -218,7 +218,7 @@ static td_err_e pt_ta_map_id2thr(const td_thragent_t *ta, thread_t id, td_thrhandle_t *th) { - prgregset_t gregs; + gregset_t gregs; TAILQ_HEAD(, pthread) thread_list; psaddr_t pt, tcb_addr; lwpid_t lwp; @@ -266,7 +266,7 @@ return (P2T(ret)); } /* check lwp */ - ret = ps_lgetregs(ta->ph, ta->map[id].lwp, gregs); + ret = ps_lgetregs(ta->ph, ta->map[id].lwp, &gregs); if (ret != PS_OK) { /* no longer exists */ ta->map[id].type = PT_NONE; @@ -724,7 +724,7 @@ #endif static td_err_e -pt_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregs) +pt_thr_getfpregs(const td_thrhandle_t *th, fpregset_t *fpregs) { const td_thragent_t *ta = th->th_ta; struct kse_thr_mailbox tmbx; @@ -765,7 +765,7 @@ } static td_err_e -pt_thr_getgregs(const td_thrhandle_t *th, prgregset_t gregs) +pt_thr_getgregs(const td_thrhandle_t *th, gregset_t *gregs) { const td_thragent_t *ta = th->th_ta; struct kse_thr_mailbox tmbx; @@ -857,7 +857,7 @@ #endif static td_err_e -pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) +pt_thr_setfpregs(const td_thrhandle_t *th, const fpregset_t *fpregs) { const td_thragent_t *ta = th->th_ta; struct kse_thr_mailbox tmbx; @@ -904,7 +904,7 @@ } static td_err_e -pt_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) +pt_thr_setgregs(const td_thrhandle_t *th, const gregset_t *gregs) { const td_thragent_t *ta = th->th_ta; struct kse_thr_mailbox tmbx; ==== //depot/projects/gdb/lib/libthread_db/libthr_db.c#7 (text+ko) ==== @@ -532,7 +532,7 @@ #endif static td_err_e -pt_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregs) +pt_thr_getfpregs(const td_thrhandle_t *th, fpregset_t *fpregs) { const td_thragent_t *ta = th->th_ta; int ret; @@ -548,7 +548,7 @@ } static td_err_e -pt_thr_getgregs(const td_thrhandle_t *th, prgregset_t gregs) +pt_thr_getgregs(const td_thrhandle_t *th, gregset_t *gregs) { const td_thragent_t *ta = th->th_ta; int ret; @@ -582,7 +582,7 @@ #endif static td_err_e -pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) +pt_thr_setfpregs(const td_thrhandle_t *th, const fpregset_t *fpregs) { const td_thragent_t *ta = th->th_ta; int ret; @@ -598,7 +598,7 @@ } static td_err_e -pt_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) +pt_thr_setgregs(const td_thrhandle_t *th, const gregset_t *gregs) { const td_thragent_t *ta = th->th_ta; int ret; ==== //depot/projects/gdb/lib/libthread_db/thread_db.c#6 (text+ko) ==== @@ -195,14 +195,14 @@ td_err_e -td_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregset) +td_thr_getfpregs(const td_thrhandle_t *th, fpregset_t *fpregset) { const td_thragent_t *ta = th->th_ta; return (ta->ta_ops->to_thr_getfpregs(th, fpregset)); } td_err_e -td_thr_getgregs(const td_thrhandle_t *th, prgregset_t gregs) +td_thr_getgregs(const td_thrhandle_t *th, gregset_t *gregs) { const td_thragent_t *ta = th->th_ta; return (ta->ta_ops->to_thr_getgregs(th, gregs)); @@ -225,14 +225,14 @@ #endif td_err_e -td_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) +td_thr_setfpregs(const td_thrhandle_t *th, const fpregset_t *fpregs) { const td_thragent_t *ta = th->th_ta; return (ta->ta_ops->to_thr_setfpregs(th, fpregs)); } td_err_e -td_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) +td_thr_setgregs(const td_thrhandle_t *th, const gregset_t *gregs) { const td_thragent_t *ta = th->th_ta; return (ta->ta_ops->to_thr_setgregs(th, gregs)); ==== //depot/projects/gdb/lib/libthread_db/thread_db.h#10 (text+ko) ==== @@ -227,19 +227,13 @@ td_err_e td_thr_event_enable(const td_thrhandle_t *, int); td_err_e td_thr_event_getmsg(const td_thrhandle_t *, td_event_msg_t *); td_err_e td_thr_get_info(const td_thrhandle_t *, td_thrinfo_t *); -#ifdef __i386__ -td_err_e td_thr_getxmmregs(const td_thrhandle_t *, char *); -#endif -td_err_e td_thr_getfpregs(const td_thrhandle_t *, prfpregset_t *); -td_err_e td_thr_getgregs(const td_thrhandle_t *, prgregset_t); +td_err_e td_thr_getfpregs(const td_thrhandle_t *, fpregset_t *); +td_err_e td_thr_getgregs(const td_thrhandle_t *, gregset_t *); td_err_e td_thr_getxregs(const td_thrhandle_t *, void *); td_err_e td_thr_getxregsize(const td_thrhandle_t *, int *); td_err_e td_thr_set_event(const td_thrhandle_t *, td_thr_events_t *); -#ifdef __i386__ -td_err_e td_thr_setxmmregs(const td_thrhandle_t *, const char *); -#endif -td_err_e td_thr_setfpregs(const td_thrhandle_t *, const prfpregset_t *); -td_err_e td_thr_setgregs(const td_thrhandle_t *, const prgregset_t); +td_err_e td_thr_setfpregs(const td_thrhandle_t *, const fpregset_t *); +td_err_e td_thr_setgregs(const td_thrhandle_t *, const gregset_t *); td_err_e td_thr_setxregs(const td_thrhandle_t *, const void *); td_err_e td_thr_validate(const td_thrhandle_t *); td_err_e td_thr_tls_get_addr(const td_thrhandle_t *, void *, size_t, void **); ==== //depot/projects/gdb/lib/libthread_db/thread_db_int.h#8 (text+ko) ==== @@ -66,13 +66,13 @@ td_err_e (*to_thr_event_getmsg)(const td_thrhandle_t *, td_event_msg_t *); td_err_e (*to_thr_get_info)(const td_thrhandle_t *, td_thrinfo_t *); - td_err_e (*to_thr_getfpregs)(const td_thrhandle_t *, prfpregset_t *); - td_err_e (*to_thr_getgregs)(const td_thrhandle_t *, prgregset_t); + td_err_e (*to_thr_getfpregs)(const td_thrhandle_t *, fpregset_t *); + td_err_e (*to_thr_getgregs)(const td_thrhandle_t *, gregset_t *); td_err_e (*to_thr_set_event)(const td_thrhandle_t *, td_thr_events_t *); td_err_e (*to_thr_setfpregs)(const td_thrhandle_t *, - const prfpregset_t *); - td_err_e (*to_thr_setgregs)(const td_thrhandle_t *, const prgregset_t); + const fpregset_t *); + td_err_e (*to_thr_setgregs)(const td_thrhandle_t *, const gregset_t *); td_err_e (*to_thr_validate)(const td_thrhandle_t *); td_err_e (*to_thr_tls_get_addr)(const td_thrhandle_t *, void *, size_t, void **);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608022338.k72Ncn4f027730>