The NetBSD Project

CVS log for src/lib/libpthread_dbg/Attic/pthread_dbg.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libpthread_dbg

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-2


Revision 1.16.4.4 / (download) - annotate - [select for diffs], Sat Aug 27 05:17:19 2005 UTC (18 years, 7 months ago) by snj
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.16.4.3: +3 -3 lines
Diff to previous 1.16.4.3 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Pull up following revision(s) (requested by riz in ticket #5615):
	lib/libpthread_dbg/pthread_dbg.c: revision 1.25
Cast integer to pointer types via intptr_t.
Problem reported by Havard Eidnes while building evbsh5.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Sat Aug 27 05:14:49 2005 UTC (18 years, 7 months ago) by snj
Branch: netbsd-2
Changes since 1.16.4.2: +4 -3 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored)

Pull up following revision(s) (requested by riz in ticket #5615):
	lib/libpthread_dbg/pthread_dbg.c: revision 1.24
Ouch. Lint didn't like the last change on sparc64. The reason:
<machine/reg.h> plays dirty naming tricks on sparc64 to allow 32bit
compatibility (reg ->  reg64 and the parameter in
PTHREAD_REG_TO_UCONTEXT() is called reg). This probably needs to be
fixed separately, but for now reordering the includes will do.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Sat Aug 27 05:12:43 2005 UTC (18 years, 7 months ago) by snj
Branch: netbsd-2
Changes since 1.16.4.1: +47 -12 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)

Pull up following revision(s) (requested by riz in ticket #5615):
	lib/libpthread_dbg/pthread_dbg_int.h: revision 1.5
	lib/libpthread_dbg/pthread_dbg.c: revision 1.23
Avoid depending on declarations of struct reg and struct fpreg by using
the proc_regsize() callback to allocate reg and fpreg buffers as part of the
proc state (lazily initialized by the PT_STATE_RUNNING case of
td_thr_suspend()).
Fixes build on sh3 (and probably sh5) platforms.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed May 18 18:40:26 2005 UTC (18 years, 11 months ago) by riz
Branch: netbsd-2
Changes since 1.16: +330 -2 lines
Diff to previous 1.16 (colored)

Pull up revision 1.17 (requested by matt in ticket #1526):
1.17:
Add td_thr_suspend() and td_thr_resume(), to suspend and resume
threads from the context of a debugger.

1.18:
td_map_lwps(): there's always one lwp. This makes the call work before
the thread system has started.

Additionally, mark not-on-LWP threads explicitly, so that there's no
risk of using stale information.

1.19:
Add support for reporting and examining suspended threads.

1.20:
Add an offset to the thread ID numbers, because GDB really doesn't
cope with "thread 0".

1.21:
Update cached LWP values when suspending the running thread.

1.22:
Get the td_thread_t * corresponding to nthread to mess with its lwp
data, rather than trying a nonsensical operation on a caddr_t from a
different address space.

Moral: test-compile in the same tree you're working in.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 21 20:48:11 2004 UTC (20 years, 2 months ago) by cl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Actually test pthread__dbg to check if another gdb is attached (and not
pthread__tsd_destructors whose address happens to be in addr).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>