diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-07-31 05:25:52 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2008-07-31 05:25:52 +0000 |
commit | 2f6a179eb910129fb812c1ad1bdc300da1203dc0 (patch) | |
tree | 3c7d97e9ca0908009975110f9e81890b3ab78678 /lib/libthread_db | |
parent | c1695335d111298519bf4927104bb535d3b89599 (diff) | |
download | src-test2-2f6a179eb910129fb812c1ad1bdc300da1203dc0.tar.gz src-test2-2f6a179eb910129fb812c1ad1bdc300da1203dc0.zip |
Notes
Diffstat (limited to 'lib/libthread_db')
-rw-r--r-- | lib/libthread_db/Makefile | 2 | ||||
-rw-r--r-- | lib/libthread_db/arch/arm/libpthread_md.c | 2 | ||||
-rw-r--r-- | lib/libthread_db/arch/powerpc/libpthread_md.c | 1 | ||||
-rw-r--r-- | lib/libthread_db/thread_db.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/lib/libthread_db/Makefile b/lib/libthread_db/Makefile index 6114f9db4f76..e08bb0de533a 100644 --- a/lib/libthread_db/Makefile +++ b/lib/libthread_db/Makefile @@ -9,7 +9,7 @@ SRCS+= libpthread_md.c SRCS+= libpthread_db.c SRCS+= libthr_db.c INCS= thread_db.h -WARNS?= 1 +WARNS?= 2 CFLAGS+=-I. -I${.CURDIR} SYM_MAPS+=${.CURDIR}/Symbol.map diff --git a/lib/libthread_db/arch/arm/libpthread_md.c b/lib/libthread_db/arch/arm/libpthread_md.c index a444598c24dd..88a804f060d7 100644 --- a/lib/libthread_db/arch/arm/libpthread_md.c +++ b/lib/libthread_db/arch/arm/libpthread_md.c @@ -97,7 +97,6 @@ pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc) void pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) { - const mcontext_t *mc = &uc->uc_mcontext; /* XXX */ memset(r, 0, sizeof(*r)); @@ -113,4 +112,5 @@ pt_reg_sstep(struct reg *reg, int step) { /* XXX */ + return (0); } diff --git a/lib/libthread_db/arch/powerpc/libpthread_md.c b/lib/libthread_db/arch/powerpc/libpthread_md.c index a8a95bd7aa48..955cc8ed4800 100644 --- a/lib/libthread_db/arch/powerpc/libpthread_md.c +++ b/lib/libthread_db/arch/powerpc/libpthread_md.c @@ -80,4 +80,5 @@ pt_reg_sstep(struct reg *reg, int step) { /* XXX */ + return (0); } diff --git a/lib/libthread_db/thread_db.c b/lib/libthread_db/thread_db.c index 6daea6333c21..f129a1e0ec72 100644 --- a/lib/libthread_db/thread_db.c +++ b/lib/libthread_db/thread_db.c @@ -50,7 +50,6 @@ td_init(void) { td_err_e ret, tmp; struct ta_ops *ops_p, **ops_pp; - size_t i; ret = 0; SET_FOREACH(ops_pp, __ta_ops) { @@ -104,7 +103,6 @@ td_ta_map_lwp2thr(const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th) td_err_e td_ta_new(struct ps_prochandle *ph, td_thragent_t **pta) { - size_t i; struct ta_ops *ops_p, **ops_pp; SET_FOREACH(ops_pp, __ta_ops) { |