summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/libc_r_db.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-04-12 03:03:16 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-04-12 03:03:16 +0000
commit6b1b88e88d2dca06c92296fd281c7dc374cf42e0 (patch)
tree57bb6a3f24e916acd3cd01aa6a9f8d5f2218698c /lib/libthread_db/libc_r_db.c
parent2cf5eeb00151f72e5aa07f0289c2889752eb07d9 (diff)
downloadFreeBSD-src-6b1b88e88d2dca06c92296fd281c7dc374cf42e0.zip
FreeBSD-src-6b1b88e88d2dca06c92296fd281c7dc374cf42e0.tar.gz
Sync with debugger code in libthr.
Diffstat (limited to 'lib/libthread_db/libc_r_db.c')
-rw-r--r--lib/libthread_db/libc_r_db.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libthread_db/libc_r_db.c b/lib/libthread_db/libc_r_db.c
index c141f0e..78be702 100644
--- a/lib/libthread_db/libc_r_db.c
+++ b/lib/libthread_db/libc_r_db.c
@@ -58,7 +58,7 @@ libc_r_db_init()
static td_err_e
libc_r_db_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *ev)
{
- return (TD_ERR);
+ return (0);
}
static td_err_e
@@ -160,7 +160,7 @@ libc_r_db_ta_new(struct ps_prochandle *ph, td_thragent_t **ta_p)
static td_err_e
libc_r_db_ta_set_event(const td_thragent_t *ta, td_thr_events_t *ev)
{
- return (TD_ERR);
+ return (0);
}
static td_err_e
@@ -192,13 +192,13 @@ libc_r_db_ta_thr_iter(const td_thragent_t *ta, td_thr_iter_f *cb, void *data,
static td_err_e
libc_r_db_thr_clear_event(const td_thrhandle_t *th, td_thr_events_t *ev)
{
- return (TD_ERR);
+ return (0);
}
static td_err_e
libc_r_db_thr_event_enable(const td_thrhandle_t *th, int oo)
{
- return (TD_ERR);
+ return (0);
}
static td_err_e
@@ -281,7 +281,7 @@ libc_r_db_thr_getgregs(const td_thrhandle_t *th, prgregset_t r)
static td_err_e
libc_r_db_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *ev)
{
- return (TD_ERR);
+ return (0);
}
static td_err_e
OpenPOWER on IntegriCloud