aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db/thread_db.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2005-05-31 09:43:04 +0000
committerDoug Rabson <dfr@FreeBSD.org>2005-05-31 09:43:04 +0000
commit8d7681bb7fc40b6681f759c2f6051e84cfc6d087 (patch)
tree6e75a2cdc72929f6a8fcd18615399aea3228d568 /lib/libthread_db/thread_db.c
parent3d7f65df6e2e73128b476eb062c48ca26b91a64c (diff)
Notes
Diffstat (limited to 'lib/libthread_db/thread_db.c')
-rw-r--r--lib/libthread_db/thread_db.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libthread_db/thread_db.c b/lib/libthread_db/thread_db.c
index b1b1bccc9f6a..45400bf7c00d 100644
--- a/lib/libthread_db/thread_db.c
+++ b/lib/libthread_db/thread_db.c
@@ -184,6 +184,16 @@ td_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info)
return (ta->ta_ops->to_thr_get_info(th, info));
}
+#ifdef __i386__
+td_err_e
+td_thr_getxmmregs(const td_thrhandle_t *th, char *fxsave)
+{
+ const td_thragent_t *ta = th->th_ta;
+ return (ta->ta_ops->to_thr_getxmmregs(th, fxsave));
+}
+#endif
+
+
td_err_e
td_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregset)
{
@@ -205,6 +215,15 @@ td_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *events)
return (ta->ta_ops->to_thr_set_event(th, events));
}
+#ifdef __i386__
+td_err_e
+td_thr_setxmmregs(const td_thrhandle_t *th, const char *fxsave)
+{
+ const td_thragent_t *ta = th->th_ta;
+ return (ta->ta_ops->to_thr_setxmmregs(th, fxsave));
+}
+#endif
+
td_err_e
td_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs)
{