CVS log for src/sys/ddb/db_command.c
Up to [cvs.NetBSD.org] / src / sys / ddb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.190: download - view: text, markup, annotated - select for diffs
Thu Nov 2 10:31:55 2023 UTC (13 months ago) by martin
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +2 -4
lines
Back out the following revisions on behalf of core:
sys/sys/lwp.h: revision 1.228
sys/sys/pipe.h: revision 1.40
sys/kern/uipc_socket.c: revision 1.306
sys/kern/kern_sleepq.c: revision 1.84
sys/rump/librump/rumpkern/locks_up.c: revision 1.13
sys/kern/sys_pipe.c: revision 1.165
usr.bin/fstat/fstat.c: revision 1.119
sys/rump/librump/rumpkern/locks.c: revision 1.87
sys/ddb/db_xxx.c: revision 1.78
sys/ddb/db_command.c: revision 1.187
sys/sys/condvar.h: revision 1.18
sys/ddb/db_interface.h: revision 1.42
sys/sys/socketvar.h: revision 1.166
sys/kern/uipc_syscalls.c: revision 1.209
sys/kern/kern_condvar.c: revision 1.60
Add cv_fdrestart() [...]
Use cv_fdrestart() to implement fo_restart.
Simplify/streamline pipes a little bit [...]
This changes have caused regressions and need to be debugged.
The cv_fdrestart() addition needs more discussion.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Sun Oct 15 10:27:33 2023 UTC (13 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +2 -13
lines
ddb: Don't restrict `show all tstiles' to wmesg `tstile'.
This is no longer the wmesg, as of last week -- now it's the name of
the underlying syncobj, like `mutex' or `rwlock'.
Revision 1.188: download - view: text, markup, annotated - select for diffs
Sun Oct 15 10:27:25 2023 UTC (13 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +3 -3
lines
ddb: Constify db_syncobj_owner argument.
No need for it to be writable, and the actual type of the struct lwp
member is const.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Fri Oct 13 19:07:08 2023 UTC (13 months, 3 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +2 -0
lines
Simplify/streamline pipes a little bit:
- Allocate only one struct pipe not two (no need to be bidirectional here).
- Then use f_flag (FREAD/FWRITE) to figure out what to do in the fileops.
- Never wake the other side or acquire long-term (I/O) lock unless needed.
- Whenever possible, defer wakeups until after locks have been released.
- Do some things locklessly in pipe_ioctl() and pipe_poll().
Some notable results:
- -30% latency on a 486DX2/66 doing 1 byte ping-pong within a single process.
- 2.5x less lock contention during "make cleandir" of src on a 48 CPU machine.
- 1.5x bandwith with 1kB messages on the same 48 CPU machine (8kB: same b/w).
Revision 1.186: download - view: text, markup, annotated - select for diffs
Sat Oct 7 20:27:20 2023 UTC (13 months, 4 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +8 -2
lines
Add some simple DDB show commands: condvar, selinfo, sleepq
Revision 1.181.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 9 17:42:03 2023 UTC (15 months, 3 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Diff to: previous 1.181.4.1: preferred, colored; branchpoint 1.181: preferred, colored; next MAIN 1.182: preferred, colored
Changes since revision 1.181.4.1: +88 -2
lines
Pull up following revision(s) (requested by maya in ticket #316):
sys/arch/m68k/include/mutex.h: revision 1.13
sys/arch/arm/include/cpu.h: revision 1.125
sys/arch/sun68k/include/intr.h: revision 1.21
sys/arch/arm/include/mutex.h: revision 1.28
sys/sys/rwlock.h: revision 1.18
sys/arch/powerpc/include/mutex.h: revision 1.7
sys/arch/arm/include/mutex.h: revision 1.29
sys/arch/powerpc/include/mutex.h: revision 1.8
sys/uvm/uvm_param.h: revision 1.42
sys/sys/ksem.h: revision 1.16
sys/arch/x86/include/mutex.h: revision 1.10
sys/sys/proc.h: revision 1.372
sys/sys/ksem.h: revision 1.17
sys/arch/ia64/include/mutex.h: revision 1.8
sys/arch/evbarm/include/intr.h: revision 1.29
sys/sys/lua.h: revision 1.9
sys/arch/next68k/include/intr.h: revision 1.23
sys/arch/ia64/include/mutex.h: revision 1.9
sys/arch/hp300/include/intr.h: revision 1.35
sys/arch/hp300/include/intr.h: revision 1.36
sys/arch/sparc/include/cpu.h: revision 1.111
sys/arch/hppa/include/mutex.h: revision 1.16
sys/arch/vax/include/intr.h: revision 1.31
sys/arch/hppa/include/mutex.h: revision 1.17
sys/arch/news68k/include/intr.h: revision 1.28
sys/arch/hppa/include/mutex.h: revision 1.18
sys/arch/hppa/include/intr.h: revision 1.3
sys/arch/hppa/include/mutex.h: revision 1.19
sys/arch/hppa/include/intr.h: revision 1.4
sys/sys/sched.h: revision 1.92
sys/opencrypto/cryptodev.h: revision 1.51
sys/arch/vax/include/mutex.h: revision 1.20
sys/arch/sparc64/include/mutex.h: revision 1.10
sys/arch/ia64/include/sapicvar.h: revision 1.2
sys/arch/riscv/include/mutex.h: revision 1.5
sys/arch/amiga/dev/grfabs_cc.c: revision 1.39
sys/external/bsd/drm2/include/linux/idr.h: revision 1.11
sys/arch/riscv/include/mutex.h: revision 1.6
sys/ddb/files.ddb: revision 1.16
sys/arch/mac68k/include/intr.h: revision 1.32
share/man/man4/ddb.4: revision 1.203
sys/ddb/db_command.c: revision 1.183
sys/arch/mips/include/mutex.h: revision 1.10
sys/ddb/db_command.c: revision 1.184
sys/arch/x68k/include/intr.h: revision 1.22
sys/arch/sparc/include/psl.h: revision 1.51
sys/arch/or1k/include/mutex.h: revision 1.4
sys/arch/mips/include/mutex.h: revision 1.11
sys/arch/arm/xscale/pxa2x0_intr.h: revision 1.16
sys/arch/sparc64/include/cpu.h: revision 1.134
sys/arch/sparc/include/psl.h: revision 1.52
sys/arch/or1k/include/mutex.h: revision 1.5
sys/arch/mvme68k/include/intr.h: revision 1.22
sys/arch/luna68k/include/intr.h: revision 1.16
external/cddl/osnet/sys/sys/kcondvar.h: revision 1.6
sys/arch/sparc/include/mutex.h: revision 1.12
sys/arch/sparc/include/mutex.h: revision 1.13
sys/arch/usermode/include/mutex.h: revision 1.5
sys/arch/usermode/include/mutex.h: revision 1.6
sys/kern/kern_core.c: revision 1.38
usr.sbin/crash/Makefile: revision 1.49
sys/arch/amiga/include/intr.h: revision 1.23
sys/arch/alpha/include/mutex.h: revision 1.12
sys/arch/alpha/include/mutex.h: revision 1.13
sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.16
sys/ddb/ddb.h: revision 1.6
sys/arch/sparc64/include/mutex.h: revision 1.8
sys/arch/sh3/include/mutex.h: revision 1.12
sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.17
sys/ddb/db_syncobj.c: revision 1.1
sys/arch/vax/include/mutex.h: revision 1.18
sys/arch/sparc64/include/psl.h: revision 1.63
sys/arch/sparc64/include/mutex.h: revision 1.9
sys/arch/sh3/include/mutex.h: revision 1.13
sys/arch/evbarm/lubbock/obio.c: revision 1.13
sys/arch/atari/include/intr.h: revision 1.23
sys/ddb/db_syncobj.c: revision 1.2
sys/arch/vax/include/mutex.h: revision 1.19
sys/arch/evbarm/g42xxeb/obio.c: revision 1.14
sys/arch/evbarm/g42xxeb/obio.c: revision 1.15
sys/arch/cesfic/include/intr.h: revision 1.14
sys/ddb/db_syncobj.h: revision 1.1
sys/arch/x86/include/cpu.h: revision 1.134
sys/arch/evbarm/g42xxeb/obio.c: revision 1.16
sys/arch/cesfic/include/intr.h: revision 1.15
sys/arch/arm/xscale/pxa2x0_intr.c: revision 1.26
sys/sys/cpu_data.h: revision 1.54
sys/arch/m68k/include/mutex.h: revision 1.12
sys/arch/ia64/acpi/madt.c: revision 1.6
sys/rwlock.h: Make this more self-contained for bool.
machine/mutex.h: Sprinkle includes so this can be used by crash(8).
ddb: New `show all tstiles' command.
Shows who's waiting for which locks and what the owner is up to.
Include psl.h for ipl_cookie_t if __MUTEX_PRIVATE
sys: Rip <sys/resourcevar.h> out of <uvm/uvm_param.h>.
And thus out of <sys/param.h>, which is exceedingly overused and
fragile and delenda est.
Should fix (some) issues with the recent inclusion of machine/lock.h
in various machine/mutex.h files.
arm/mutex.h: Need machine/intr.h, machine/lock.h.
For ipl_cookie_t and __cpu_simple_lock_t.
evbarm/intr.h: Define ipl_cookie_t before including ARM_INTR_IMPL.
Otherwise arm/mutex.h doesn't work, due to a cyclic dependency which
should really be fixed.
opencrypto/cryptodev.h: Fix includes.
- Move sys/condvar.h under #ifdef _KERNEL.
- Add some other necessary includes and forward declarations.
- Sort.
hp300/intr.h: Fix missing includes.
linux/idr.h: Need <sys/mutex.h> for kmutex_t.
amiga/intr.h: Don't define spl*() functions if !_KERNEL.
This is used by crash(8) now, and what's important is ipl_cookie_t.
cesfic/intr.h: Expose ipl_cookie_t to userland for crash(8).
cesfic/intr.h: Expose ipl_cookie_t to userland only with _KMEMUSER.
Probably not necessary but let's be a little more cautious about
this.
atari/intr.h: Expose ipl_cookie_t with _KMEMUSER for crash(8).
arm/cpu.h: Need sys/param.h for COHERENCY_UNIT.
Nix machine/param.h -- not meant to be used directly, pulled in by
sys/param.h.
Move the definition of ipl_cookie_t out of the kernel-only sections,
some _KMEMUSER applications need it.
ddb: Cast pointer to uintptr_t first before db_expr_t.
hppa/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
luna68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
mvme68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
news68k/intr.h: Fix includes. Put some definitions under _KERNEL.
next68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
sys/ksem.h: Hack around fstat(8) abuse of _KERNEL.
sun68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
vax/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
x68k/intr.h: Put functions under _KERNEL so crash(8) can use this.
Make ipl_cookie_t visible for _KMEMUSER userland applications.
fix editor mishap in previous
Explicitly include <sys/mutex.h> for kmutex_t.
Replace kmutex_t * (which may be undefined here) with struct kmutex *,
suggested by Taylor.
hp300/intr.h: Put most of this under #ifdef _KERNEL.
Only ipl_cookie_t really needs to be exposed now, for crash(8).
mac68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
Make inclusion of sys/intr.h explicit for spl*.
fix hppa and vax builds.
machine/lock.h isn't necessary for __cpu_simple_lock_t, it's in
sys/types.h. avoids cpu_data.h vs sched.h include order issues.
move the hppa ipl_t typedef with the moved usage of it.
machine/mutex.h: Sprinkle sys/types.h, omit machine/lock.h.
Turns out machine/lock.h is not needed for __cpu_simple_lock_t, which
always comes from sys/types.h. And, really, sys/types.h (or at least
sys/stdint.h) is needed for uintN_t and uintptr_t.
ddb: Cast pointer to uintptr_t, then to db_expr_t.
Avoids warnings about conversion between pointer and integer of
different size on some architectures.
re-fix hppa builds.
this file uses __cpu_simple_lock(), not just the underlying type,
so it does need machine/lock.h.
Break cycle by using `struct kmutex *' instead of `kmutex_t *'.
sys/sched.h included sys/mutex.h
which includes sys/intr.h
which includes machine/intr.h
which on cats includes arm/footbridge/footbridge_intr.h
which includes arm/cpu.h
which includes sys/cpu_data.h
which includes sys/sched.h
But there was never any real need for sys/mutex.h in sys/sched.h,
because it only uses pointers to the opaque struct kmutex. Cycle
broken by using `struct kmutex *' instead of pulling in sys/mutex.h
for the definition of kmutex_t.
Side effect: This revealed that sys/cpu_data.h needed sys/intr.h
(which was pulled in accidentally by sys/mutex.h via sys/sched.h) for
SOFTINT_COUNT. Also revealed some other machine/cpu.h header files
were missing includes of sys/mutex.h for kmutex_t.
ia64: Need sys/types.h for u_int, vaddr_t; sys/mutex.h for kmutex_t.
explicitly include no longer implicitly included sys/mutex.h.
arm/xscale: Use sys/bitops.h fls32 - 1 instead of 31 - __builtin_clz.
Sidesteps namespace collision with `#define bits ...' in net/zlib.c.
complete the previous - there were two calls to find_first_bit() to fix.
arm/xscale: Missed a spot with previous find_first_bit commit.
evbarm/g42xxeb: Fix off-by-one in previous.
The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x),
which is equivalent to fls32(x) - 1, not to fls32(x).
Note that fls32 is 1-based and returns 0 for x=0.
Revision 1.185: download - view: text, markup, annotated - select for diffs
Mon Jul 17 12:55:03 2023 UTC (16 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +11 -6
lines
ddb: Teach `show all tstiles' to show the type of each lock.
Revision 1.184: download - view: text, markup, annotated - select for diffs
Tue Jul 11 11:03:31 2023 UTC (16 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +5 -4
lines
ddb: Cast pointer to uintptr_t first before db_expr_t.
Revision 1.183: download - view: text, markup, annotated - select for diffs
Sun Jul 9 17:10:47 2023 UTC (16 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +87 -2
lines
ddb: New `show all tstiles' command.
Shows who's waiting for which locks and what the owner is up to.
XXX pullup-10
Revision 1.181.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 3 14:47:52 2023 UTC (18 months ago) by martin
Branches: netbsd-10
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +6 -6
lines
Pull up following revision(s) (requested by uwe in ticket #188):
sys/ddb/db_command.c: revision 1.182
ddb: PR kern/57435 - fix duplicate "show mount"
Bolivar cannot carry double. One of these commands should have been
"show mounts", cf. page/pages and a few others. While here fix the
function name to be db_show_all_mounts to conform to the pattern.
Revision 1.182: download - view: text, markup, annotated - select for diffs
Thu May 25 21:46:55 2023 UTC (18 months, 1 week ago) by uwe
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +6 -6
lines
ddb: PR kern/57435 - fix duplicate "show mount"
Bolivar cannot carry double. One of these commands should have been
"show mounts", cf. page/pages and a few others. While here fix the
function name to be db_show_all_mounts to conform to the pattern.
Revision 1.181: download - view: text, markup, annotated - select for diffs
Thu Apr 28 07:08:38 2022 UTC (2 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: netbsd-10-base,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +3 -3
lines
Remove 'a' modifier from "show vmem". It was removed in sbur_vmem.c rev. 1.55.
Revision 1.180: download - view: text, markup, annotated - select for diffs
Wed Apr 20 19:06:35 2022 UTC (2 years, 7 months ago) by uwe
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +6 -5
lines
ddb: guard invocation of db_cmd_on_enter properly.
db_command_loop - do not ignore the return value from setjmp used to
guard db_cmd_on_enter. We do not want to re-execute the enter command
if it fails. Note that "fails" includes e.g. aborting long output
from the enter command with "q" at the --db more-- prompt, which is
quite likely as the default enter command is "bt".
While here, don't even bother with the whole song and dance if the
enter command is not set.
Revision 1.179: download - view: text, markup, annotated - select for diffs
Sun Oct 10 18:08:12 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +28 -2
lines
Add a "show kqueue <addr>" command.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Sat Aug 21 23:00:31 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +3 -3
lines
fix mainly same typos as in my previous commit but outside sys/dev/dm.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Fri Aug 13 20:47:55 2021 UTC (3 years, 3 months ago) by andvar
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -3
lines
fix typos in words "pointer" and s/fram /frame/
Revision 1.175.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:42 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175: +4 -4
lines
Sync with HEAD.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Tue Feb 23 07:13:53 2021 UTC (3 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +4 -4
lines
introduce DDB_END_CMD and replace more than 20 copies of the same
list of NULLs and 0. idea from rillig@.
all touched ports built, several booted.
Revision 1.175: download - view: text, markup, annotated - select for diffs
Fri Oct 30 16:29:49 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +2 -3
lines
Remove "also;"
Revision 1.174: download - view: text, markup, annotated - select for diffs
Fri Oct 30 16:08:44 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +36 -2
lines
Add a "show fdt" ddb command
Revision 1.173: download - view: text, markup, annotated - select for diffs
Fri Oct 30 07:17:29 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +39 -39
lines
Sort the db_show_cmd entries
Revision 1.172: download - view: text, markup, annotated - select for diffs
Fri Oct 30 07:03:50 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +6 -4
lines
Put the 'added from all sub cmds' comment above the four commands that
were added as part of the work in r1.98
Revision 1.171: download - view: text, markup, annotated - select for diffs
Fri Oct 30 06:57:08 2020 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +3 -3
lines
Trailing whitespace
Revision 1.153.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:14 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.153.2.3: preferred, colored; branchpoint 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153.2.3: +4 -0
lines
Sync with HEAD
Revision 1.169.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:02 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.169: preferred, colored; next MAIN 1.170: preferred, colored
Changes since revision 1.169: +6 -2
lines
Sync with HEAD
Revision 1.170: download - view: text, markup, annotated - select for diffs
Mon Apr 13 11:43:27 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +6 -2
lines
Handle "no count" properly in db_kernhist_print_cmd
Revision 1.153.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:17 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.153.2.2: preferred, colored; branchpoint 1.153: preferred, colored
Changes since revision 1.153.2.2: +11 -10
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.153.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.153.2.1: preferred, colored; branchpoint 1.153: preferred, colored
Changes since revision 1.153.2.1: +74 -10
lines
Merge changes from current as of 20200406
Revision 1.169: download - view: text, markup, annotated - select for diffs
Tue Mar 10 15:58:36 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +2 -7
lines
Make the db_kernelonly() macro visible to all files and re-use it.
Register access is kernel only.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Mon Mar 9 01:46:24 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +46 -7
lines
print a message for the commands crash does not support.
Allow "show lock"
Revision 1.160.4.1: download - view: text, markup, annotated - select for diffs
Sun Jan 26 11:28:11 2020 UTC (4 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Diff to: previous 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160: +11 -12
lines
Pull up following revision(s) (requested by uwe in ticket #656):
sys/ddb/db_command.c: revision 1.162
sys/ddb/db_command.c: revision 1.163
sys/ddb/db_command.c: revision 1.164
db_command - make sure count is always initialized.
db_command - make setting have_addr more clear.
Don't set it to false that it's already initialized to.
db_command - don't hide local static variable in the middle of other
local variable definitions. While here, get rid of the alignment of
variable names.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Jan 1 22:57:17 2020 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +4 -4
lines
- Introduce a new global kernel variable "shutting_down" to indicate that
the system is shutting down or rebooting.
- Set this global in a new function called kern_reboot(), which is currently
just a basic wrapper around cpu_reboot().
- Call kern_reboot() instead of cpu_reboot() almost everywhere; a few
places remain where it's still called directly, but those are in early
pre-main() machdep locations.
Eventually, all of the various cpu_reboot() functions should be re-factored
and common functionality moved to kern_reboot(), but that's for another day.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Dec 27 12:51:56 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +17 -3
lines
Redo the page allocator to perform better, especially on multi-core and
multi-socket systems. Proposed on tech-kern. While here:
- add rudimentary NUMA support - needs more work.
- remove now unused "listq" from vm_page.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Sun Dec 15 20:29:08 2019 UTC (4 years, 11 months ago) by joerg
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +18 -2
lines
Teach ddb(4) about printing the full mount list.
Revision 1.164: download - view: text, markup, annotated - select for diffs
Sun Sep 29 02:49:59 2019 UTC (5 years, 2 months ago) by uwe
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +7 -7
lines
db_command - don't hide local static variable in the middle of other
local variable definitions. While here, get rid of the alignment of
variable names.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Sun Sep 29 02:42:12 2019 UTC (5 years, 2 months ago) by uwe
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +5 -6
lines
db_command - make setting have_addr more clear.
Don't set it to false that it's already initialized to.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Sun Sep 29 02:35:39 2019 UTC (5 years, 2 months ago) by uwe
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -4
lines
db_command - make sure count is always initialized.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Sun Sep 22 12:57:34 2019 UTC (5 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +4 -2
lines
fix "show kernhist".
set addr = 0 if we don't have_addr and avoid using random garbage in addr.
Revision 1.153.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +33 -6
lines
Sync with HEAD
Revision 1.149.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:49 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.149.2.3: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.2.3: +16 -7
lines
Ssync with HEAD
Revision 1.148.8.5: download - view: text, markup, annotated - select for diffs
Thu Sep 27 14:52:26 2018 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.148.8.4: preferred, colored; branchpoint 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148.8.4: +14 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1037):
sys/dev/usb/uhub.c: revision 1.139
sys/external/bsd/dwc2/dwc2.c: revision 1.55
sys/ddb/db_output.c: revision 1.34
sys/ddb/db_command.c: revision 1.160
sys/dev/usb/ehci.c: revision 1.264
sys/dev/usb/xhci.c: revision 1.99
sys/dev/usb/ehci.c: revision 1.265
sys/kern/subr_userconf.c: revision 1.27
sys/dev/usb/ehcivar.h: revision 1.46
sys/dev/usb/ohci.c: revision 1.287
sys/dev/usb/uhci.c: revision 1.284
sys/dev/usb/usbdi.c: revision 1.178
sys/dev/usb/usb.c: revision 1.172
sys/dev/pci/xhci_pci.c: revision 1.14
sys/dev/usb/usb.c: revision 1.173
sys/dev/usb/usb.c: revision 1.174
share/man/man4/usb.4: revision 1.110
sys/ddb/db_command.c: revision 1.159
sys/dev/usb/usb_subr.c: revision 1.227
sys/dev/usb/uhcivar.h: revision 1.56
(all via patch)
consolidate the handling of polling across HC drivers, and generic USB:
- don't take mutexes if polling
- normalise the code across all drivers
- add some not yet code to block discovery to/from polling
- minor CSE
- adjust comment for usbd_set_polling() to reality now i properly
understand what it is used for and why.
this, with a hack to make RB_ASKNAME to wait 5 seconds allows boot -a
work with USB keyboards. there are still multiple issues remaining:
- discovery and polling need to be mutually exclusive
- attachment of ukbd and wskbd is not handled by config_pending, and
the 5 second delay isn't going to always be enough.
call cnpollc(1) and cnpollc(0) around cngetc().
(christos has a good idea to add a function that does all 3,
and we should switch all the callers in this sequence to use
it (and fix the MD ones missing it still). not all can, as
eg, line-grabbing functions can use cngetsn(), which only
calls cnpollc() twice.)
When this file is used when not building the kernel (eg: /usr/sbin/crash)
make cnpollc() go away.
reorder some struct members to remove holes.
add config_pending usage to uhub and general USB device attachment.
- call config_pending_incr() and config_pending_decr() around attaching
devices against "usbdevif" attribute.
uhub:
- convert sc_explorepending and sc_running to bool. add new sc_first_explore.
- call config_pending_incr() at the start of uhub_attach(). dropped in
uhub_explore(), if this is the first explore.
implement a gross hack to fix "boot -a" on systems with usb keyboards on
systems with ehci handover to uhci (and maybe ohci), and fix a similar
problem for "boot -s".
there is effort to ensure that all devices attached via USB are probed
before RB_ASKNAME or RB_SINGLE attempts to ask any questions on the console,
and largely this works, often by chance, today, for USB disks and root.
i've recently pushed this more into uhub and general USB device attachment
as well, and kept a config_pending reference across the first explore of
a bus. these fix many issues with directly attached hubs.
however, on systems where devices connected to ehci ports are handed over
to a companion uhci or ohci port, it may not be the first, or even second,
bus explore that finds the device finally before attachment, and at this
point all config_pending references are dropped.
there is no direct communication between drivers, the potentials are
looked up but their device_t is only used for generic things like the name,
so informing the correct companion to expect a device and deal with the
config_pending references is not possible without some fairly ugly layer
violations or multi-level callbacks (eg, we have "ehci0", and usually an
the relevant companion, eg, "uhci2", but it is the uhub that uhci2 has
attached that will deal with the device attachment.)
with the above fixes to generic USB code, the disown happens during the
first explore. the hack works by, at this point, checking if (a) root
is not mounted, (b) single user or ask name are set, and (c) if the hack
as not been triggered already. if all 3 conditions are true, then a
config_pending_incr() is called and a callback is triggered for (default)
5 seconds to call config_pending_decr(). ehci detach pauses waiting for
this callback if scheduled.
this allows enough time for the uhub and the ukbd/wskbd to attach before
the RK_ASKROOT prompts appear. testing shows it takes between 1.5 and
2 seconds for the keyboard to appear after the disown occurs.
Index: dev/usb/ehcivar.c
- new sc_compcallout, sc_compcallout, sc_complock, and a state for th
handover hack.
Index: dev/usb/ehci.c
ehci_init():
- use aprint_normal_dev() instead of manual device_xname().
- initialise sc_compcallout, sc_compcallout, sc_complock, and sc_comp_state.
ehci_detach():
- if there are companion controllers, tear own the above, including waiting
if there is a callback scheduled.
ehci_disown_callback():
- new callout to call config_pending_decr() in the the future.
schedule this ca
ehci_disown_sched_callback():
- if booting to single user or asking names, call config_pending_incr() and
schedule the callout above, default 5 second delay.
ehci_disown():
- if disowning a port call ehci_disown_sched_callback().
deal with partial attach failures in usb_attach vs usb_detach aka PR 53598.
- make sure xhci's sc->sc_ios is NULL if failure happens.
- rearrange usb_attach() / usb_doattach() to make it simpler to clean up.
- move usb_async_intr softint into usb_once_init(). previously, each USB
controller would start a new one, and leave the old one leaked.
- handle controller interrupts without a bus attached
remove usb(4)'s "flags 1" code. it has been dead for a while,
as it runs during the interrupts part of configuration now,
and all the devices try attach as early as possible, including
any root or boot required disk or keyboard device, which is
what this flag was for.
Revision 1.148.8.4: download - view: text, markup, annotated - select for diffs
Sun Sep 23 17:28:25 2018 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.148.8.3: preferred, colored; branchpoint 1.148: preferred, colored
Changes since revision 1.148.8.3: +4 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1024):
sys/ddb/db_command.c: revision 1.157
sys/ddb/db_command.c: revision 1.158
sys/kern/subr_lockdebug.c: revision 1.67
always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.
adjust lockdebug_abort() to ignore problems after ld_panic is set
so that there's a chance of this working.
this fixes ddb 'reboot' on softiron od1000.
call spl0() before cpu_reboot(), so that there's a chance that:
- interrupts can work afterwards
- this also means if IO stalls, serial break might work again.
this mimics how reboot(2) ends up calling cpu_reboot().
Revision 1.160: download - view: text, markup, annotated - select for diffs
Mon Sep 17 01:49:54 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
netbsd-9-base,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +6 -2
lines
When this file is used when not building the kernel (eg: /usr/sbin/crash)
make cnpollc() go away.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Sep 16 23:18:55 2018 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +10 -5
lines
call cnpollc(1) and cnpollc(0) around cngetc().
(christos has a good idea to add a function that does all 3,
and we should switch all the callers in this sequence to use
it (and fix the MD ones missing it still). not all can, as
eg, line-grabbing functions can use cngetsn(), which only
calls cnpollc() twice.)
Revision 1.158: download - view: text, markup, annotated - select for diffs
Sat Sep 15 08:48:18 2018 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +4 -2
lines
call spl0() before cpu_reboot(), so that there's a chance that:
- interrupts can work afterwards
- this also means if IO stalls, serial break might work again.
this mimics how reboot(2) ends up calling cpu_reboot().
Revision 1.157: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:55:16 2018 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +2 -4
lines
always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.
adjust lockdebug_abort() to ignore problems after ld_panic is set
so that there's a chance of this working.
this fixes ddb 'reboot' on softiron od1000.
Revision 1.148.8.3: download - view: text, markup, annotated - select for diffs
Fri Sep 7 12:34:18 2018 UTC (6 years, 2 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.148.8.2: preferred, colored; branchpoint 1.148: preferred, colored
Changes since revision 1.148.8.2: +6 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1013):
sys/sys/lockdebug.h: revision 1.20
sys/ddb/db_command.c: revision 1.155
sys/kern/subr_lockdebug.c: revision 1.65
add a lockdebug_dismiss() function for DDB to use that tells
lockdebug to avoid asserts. use it for the ddb "reboot"
command, so that it doesn't matter how ddb was entered, the
reboot not trigger mutex checks and not work.
Revision 1.149.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:47 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.149.2.2: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.2: +7 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.156: download - view: text, markup, annotated - select for diffs
Mon Aug 13 03:20:19 2018 UTC (6 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: pgoyette-compat-0906
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +3 -3
lines
extend the ddb "show kernhist" command. the synopsis is now:
show kernhist[/i] [addr[,count]]
the i modifier means display info instead of entries, and the count
restricts to the last count entries.
the count option is only supported for specified histories. it
could be extended but requires more logic than the single history,
as multiple histories are merged during display.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Aug 12 22:05:29 2018 UTC (6 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +6 -2
lines
add a lockdebug_dismiss() function for DDB to use that tells
lockdebug to avoid asserts. use it for the ddb "reboot"
command, so that it doesn't matter how ddb was entered, the
reboot not trigger mutex checks and not work.
Revision 1.148.8.2: download - view: text, markup, annotated - select for diffs
Tue Jul 31 17:01:20 2018 UTC (6 years, 4 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.148.8.1: preferred, colored; branchpoint 1.148: preferred, colored
Changes since revision 1.148.8.1: +16 -2
lines
Pull up following revision(s) (requested by msaitoh in ticket #954):
sys/sys/socketvar.h: revision 1.157
share/man/man4/ddb.4: revision 1.180
share/man/man4/ddb.4: revision 1.181
sys/kern/uipc_socket2.c: revision 1.131
sys/ddb/db_command.c: revision 1.154
Add "show socket" command written by Hiroki SUENAGA. It prints usage of
system's socket buffers.
Improve wording.
Revision 1.149.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:43 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.149.2.1: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.1: +16 -2
lines
Sync with HEAD
Revision 1.154: download - view: text, markup, annotated - select for diffs
Fri Jul 20 08:26:25 2018 UTC (6 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +16 -2
lines
Add "show socket" command written by Hiroki SUENAGA. It prints usage of
system's socket buffers.
Revision 1.148.8.1: download - view: text, markup, annotated - select for diffs
Mon Apr 2 09:07:52 2018 UTC (6 years, 8 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +31 -3
lines
Pull up following revision(s) (requested by ozaki-r in ticket #687):
sys/kern/kern_rwlock_obj.c: revision 1.4
sys/rump/librump/rumpkern/locks.c: revision 1.80
sys/kern/kern_rwlock.c: revision 1.50
sys/arch/x86/x86/db_memrw.c: revision 1.5,1.6
sys/ddb/db_command.c: revision 1.150-1.153
share/man/man4/ddb.4: revision 1.175 (via patch),1.176-1.178
sys/kern/kern_mutex_obj.c: revision 1.6
sys/kern/subr_lockdebug.c: revision 1.61-1.64
sys/sys/lockdebug.h: revision 1.17
sys/kern/kern_mutex.c: revision 1.71
sys/sys/lockdebug.h: revision 1.18,1.19
sys/kern/subr_xcall.c: revision 1.26
Obtain proper initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc
Initialized addresses of locks allocated by mutex_obj_alloc or rw_obj_alloc
were not useful because the addresses were mutex_obj_alloc or rw_obj_alloc
itself. What we want to know are callers of them.
Spinkle ASSERT_SLEEPABLE to xcall functions
Use db_printf instead of printf in ddb
Add a new command, show lockstat, which shows statistics of locks
Currently the command shows the number of allocated locks.
The command is useful only if LOCKDEBUG is enabled.
Add a new command, show all locks, which shows information of active locks
The command shows information of all active (i.e., being held) locks that are
tracked through either of LWPs or CPUs by the LOCKDEBUG facility. The /t
modifier additionally shows a backtrace for each LWP additionally. This
feature is useful for debugging especially to analyze deadlocks.
The command is useful only if LOCKDEBUG is enabled.
Don't pass a unset address to lockdebug_lock_print
x86: avoid accessing invalid addresses in ddb like arm32
This avoids that a command stops in the middle of an execution if
a fault occurs due to an access to an invalid address.
Get rid of a redundant output
Improve wording. Fix a Cm argument.
ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8)
Requested by mrg@
Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:47 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +31 -3
lines
Synch with HEAD, resolve conflicts
Revision 1.153: download - view: text, markup, annotated - select for diffs
Mon Mar 19 08:41:21 2018 UTC (6 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322
Branch point for: phil-wifi
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +7 -7
lines
ddb: rename "show lockstat" to "show lockstats" to avoid conflicting with lockstat(8)
Requested by mrg@
Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Mar 16 04:45:20 2018 UTC (6 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +4 -3
lines
Don't pass a unset address to lockdebug_lock_print
Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Mar 16 04:44:51 2018 UTC (6 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +15 -2
lines
Add a new command, show all locks, which shows information of active locks
The command shows information of all active (i.e., being held) locks that are
tracked through either of LWPs or CPUs by the LOCKDEBUG facility. The /t
modifier additionally shows a backtrace for each LWP additionally. This
feature is useful for debugging especially to analyze deadlocks.
The command is useful only if LOCKDEBUG is enabled.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Fri Mar 16 04:37:55 2018 UTC (6 years, 8 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +16 -2
lines
Add a new command, show lockstat, which shows statistics of locks
Currently the command shows the number of allocated locks.
The command is useful only if LOCKDEBUG is enabled.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:14:50 2018 UTC (6 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -2
lines
Add command to print device list.
Revision 1.138.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.138.2.2: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.2.2: +32 -10
lines
update from HEAD
Revision 1.147.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:26 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147: +22 -2
lines
Sync with HEAD
Revision 1.143.6.5: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:26 2017 UTC (7 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.143.6.4: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.6.4: +22 -2
lines
Sync with HEAD
Revision 1.148: download - view: text, markup, annotated - select for diffs
Wed Jan 11 12:17:34 2017 UTC (7 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +22 -2
lines
Add ddb command to find a vnode by the address of its lock.
This makes it much easier to convert lockstat traces into understandable
data.
Revision 1.143.6.4: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:12 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.143.6.3: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.6.3: +6 -5
lines
Sync with HEAD
Revision 1.147: download - view: text, markup, annotated - select for diffs
Wed Apr 13 00:47:02 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +6 -5
lines
ddb: rename show arptab to show routes
show arptab command of ddb is now inappropriate because it actually dumps
routes but arp entries aren't routes anymore. So rename it to show routes
and move the code from if_arp.c to route.c.
ok christos@
Revision 1.143.6.3: download - view: text, markup, annotated - select for diffs
Wed Apr 6 22:00:02 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.143.6.2: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.6.2: +3 -3
lines
Pull across ddb(4) show kernhist updates from HEAD
Revision 1.146: download - view: text, markup, annotated - select for diffs
Wed Apr 6 21:56:24 2016 UTC (8 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3
lines
Improve ddb(4) show kernhist
1) really prints all the histories merged together (rather than just the
"first" when no argument specified
2) dumps a single history when an argument is given, e.g.
"show kernhist usbhist"
3) uses db_printf correctly
Revision 1.143.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:06 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.143.6.1: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.6.1: +12 -7
lines
Sync with HEAD
Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu May 21 08:23:22 2015 UTC (9 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +9 -4
lines
only call the on-enter commands if we're not recursing.
avoids having a fault in the on-enter commands repeating.
Revision 1.143.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:07 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -6
lines
Sync with HEAD
Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Feb 8 19:41:39 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -6
lines
we can use show callout now from crash
Revision 1.138.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:35 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.138.2.1: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.2.1: +8 -8
lines
Rebase to HEAD as of a few days ago.
Revision 1.136.4.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.136.4.3: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.4.3: +8 -8
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.142.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:34 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.142: preferred, colored; next MAIN 1.143: preferred, colored
Changes since revision 1.142: +8 -8
lines
sync with head
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sat Oct 19 15:20:52 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +8 -8
lines
fix userland build, by moving all the unused stuff inside ifdef _KERNEL
Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:10 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -2
lines
resync with head
Revision 1.136.4.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:03 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.136.4.2: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.4.2: +4 -2
lines
sync with head
Revision 1.142: download - view: text, markup, annotated - select for diffs
Sun Jan 6 04:17:27 2013 UTC (11 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +2 -2
lines
remove the new command not the old one.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Sun Jan 6 03:34:52 2013 UTC (11 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +2 -4
lines
remove previous, dmesg just works.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Jan 6 03:23:55 2013 UTC (11 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -2
lines
Add "show dmesg" that prints the contents of the message buffer.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Jan 5 15:23:27 2013 UTC (11 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -2
lines
Add "show panic" that shows the current panic string. two ports had it, and
it could be easily made MI.
Revision 1.136.4.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:54 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.136.4.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.4.1: +2 -21
lines
sync with head.
Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:46 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +2 -21
lines
sync to latest -current.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Apr 28 23:03:39 2012 UTC (12 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +2 -21
lines
Remove MALLOC_DEBUG and MALLOCLOG, which is dead code after malloc(9) move
to kmem(9). Note: kmem(9) has debugging facilities under DEBUG/DIAGNOSTIC.
However, expensive kmguard and debug_freecheck have to be enabled manually.
Revision 1.136.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:24 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -2
lines
sync with head
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Nov 13 03:21:51 2011 UTC (13 years ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -2
lines
set panicstr to "reboot forced via kernel debugger" when rebooting
from ddb, similar to how sync from ddb works.
this avoids various asserts and other issues during ddb reboot.
Revision 1.134.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:37 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +14 -11
lines
Sync with HEAD.
Revision 1.133.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:34 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.133.4.2: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.4.2: +9 -8
lines
sync with head
Revision 1.136: download - view: text, markup, annotated - select for diffs
Tue May 17 04:18:06 2011 UTC (13 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +11 -10
lines
move and rename the uvm history code out of uvm_stat to "kernhist".
rename "UVMHIST" option to enable the uvm histories.
TODO:
- make UVMHIST properly depend upon KERNHIST
- enable dynamic registration of histories. this is mostly just
allocating something in a bitmap, and is only for viewing multiple
histories in a merged form.
tested on amd64 and sparc64.
Revision 1.133.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:44 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.133.4.1: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.4.1: +3 -1
lines
sync with head
Revision 1.135: download - view: text, markup, annotated - select for diffs
Sun Apr 10 20:59:22 2011 UTC (13 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +5 -3
lines
Add:
usage: show proc [/a] [/p] address|pid
/a == argument is an address of any lwp
/p == argument is a pid [default]
From: Vladimir Kirillov proger at wilab dot org dot ua
Revision 1.133.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:58 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -8
lines
sync with head
Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:49 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +4 -8
lines
Sync with HEAD (-D20101022).
Revision 1.114.10.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:03 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.10.4: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.10.4: +4 -8
lines
sync with head
Revision 1.134: download - view: text, markup, annotated - select for diffs
Mon Sep 13 08:42:04 2010 UTC (14 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -8
lines
fix extern/static inconsistency
Revision 1.114.10.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:01 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.10.3: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.10.3: +5 -2
lines
sync with head.
Revision 1.126.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:45 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.126.2.1: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.2.1: +43 -7
lines
Sync with HEAD.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Jul 19 02:37:33 2009 UTC (15 years, 4 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base10,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +5 -2
lines
Add #ifdef MQUEUE for db_show_mqueue_cmd().
XXX: Wrong. DDB should be dynamic, modular, etc.
Revision 1.114.10.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:19 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.10.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.10.2: +40 -7
lines
sync with head
Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri Jun 5 04:31:47 2009 UTC (15 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +40 -7
lines
extend 'show event' to take /i /t and /m modifiers, to select interrupt,
trap or misc event types. you can mix them with /f as well, to show all
including zero events for traps and misc, "show event/ftm"
Revision 1.126.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:04 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +108 -97
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.114.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:32 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.10.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.10.1: +352 -366
lines
sync with head.
Revision 1.120.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:12 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.120.2.2: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.2: +106 -86
lines
Sync with HEAD.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sat Mar 21 13:06:39 2009 UTC (15 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +44 -32
lines
Make 'show event', 'dmesg' work with crash(8).
XXX dmesg fails exactly the same way as /sbin/dmesg.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Mar 11 13:29:44 2009 UTC (15 years, 8 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3
lines
Avoid "warning: cast from pointer to integer of different size"
on 32-bit sparc64 kernels.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Mar 7 22:02:17 2009 UTC (15 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +66 -58
lines
Make ddb compile and work in userspace. Mostly this is comprised of three
types of changes:
- Add a few new methods to replace stuff like p_find(), CPU_INFO_FOREACH.
- Use db_read_bytes() instead of accessing kernel structures directly,
and similar changes.
- Add ifdef _KERNEL where the above hasn't been done, and an XXX comment.
Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:30 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.120.2.1: preferred, colored; branchpoint 1.120: preferred, colored
Changes since revision 1.120.2.1: +4 -13
lines
Sync with HEAD.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Mar 1 12:13:12 2009 UTC (15 years, 9 months ago) by haad
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -4
lines
Do not set last_count to zero after every db_command function call it is
static variable. This should fix PR 40712.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Feb 18 13:31:59 2009 UTC (15 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +3 -11
lines
- fix vmem unittest. rename VMEM_DEBUG so that it won't be abused again.
- reimplement vmem sanity checks with less code duplication.
- reimplement ddb vmem-related commands in a more consistent ways.
remove automatic whatis.
Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:51 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +216 -266
lines
Sync with HEAD.
Revision 1.114.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:51 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.114.6.4: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.6.4: +216 -266
lines
Sync with HEAD.
Revision 1.120.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 9 03:32:01 2009 UTC (15 years, 10 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.120.4.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.4.1: +185 -265
lines
Pull up following revision(s) (requested by haad in ticket #241):
sys/ddb/db_command.c: revision 1.126
sys/ddb/db_command.h: revision 1.34
Fix my bug introduced in rev 1.98 of db_command.c where command prefix
not ambiguous in one table was choosed even if it was ambiguous in
another table in same list. Also apply more KNF rules.
Patch was supplied by uwe@.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Jan 5 22:19:40 2009 UTC (15 years, 11 months ago) by haad
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +185 -265
lines
Fix my bug introduced in rev 1.98 of db_command.c where command prefix
not ambiguous in one table was choosed even if it was ambiguous in another
table in same list. Also apply more KNF rules.
Patch was supplied by uwe@.
Revision 1.115.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:12 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.115.6.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.6.1: +33 -3
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Dec 7 00:51:15 2008 UTC (16 years ago) by cegger
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +24 -2
lines
ddb: new 'show vmem' and 'show all vmems' commands.
Useful to inspect vmem(9) structures.
Revision 1.120.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 27 03:46:31 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3
lines
Pull up following revision(s) (requested by nakayama in ticket #131):
sys/arch/sparc64/sparc64/db_disasm.c: revision 1.15
sys/arch/sparc64/sparc64/db_trace.c: revision 1.41
sys/arch/sparc64/sparc64/db_interface.c: revision 1.113
sys/ddb/db_command.c: revision 1.124
sys/arch/sparc64/include/db_machdep.h: revision 1.26
Make DDB shows right register values on 32-bit sparc64 kernels.
- define db_expr_t as int64_t.
- %gsr is 32-bit, so use db_sparc_intop.
- sync arguments with function prototype.
- ansify.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Tue Nov 25 15:41:12 2008 UTC (16 years ago) by nakayama
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -3
lines
Make DDB shows right register values on 32-bit sparc64 kernels.
- define db_expr_t as int64_t.
- %gsr is 32-bit, so use db_sparc_intop.
- sync arguments with function prototype.
- ansify.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue Nov 25 15:14:07 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -2
lines
Add some basic DDB stuff for modules.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Nov 16 19:34:29 2008 UTC (16 years ago) by pooka
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -2
lines
more <sys/buf.h> police
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Nov 14 23:37:30 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +5 -2
lines
+ifdef AIO
XXX ddb needs a way to register commands at runtime!
Revision 1.115.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:18 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +63 -38
lines
Sync with HEAD.
Revision 1.115.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:29:46 2008 UTC (16 years, 1 month ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.115.2.1: preferred, colored; branchpoint 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115.2.1: +15 -13
lines
Sync with HEAD.
Revision 1.114.6.4: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:28 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.114.6.3: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.6.3: +15 -13
lines
Sync with HEAD.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Oct 3 14:52:11 2008 UTC (16 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +13 -13
lines
Replace more intptr_t to uintptr_t when casting VA.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Sep 29 10:27:53 2008 UTC (16 years, 2 months ago) by rmind
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -2
lines
- Fix message queue permissions problems.
- Rake into account umask when creating mqueue.
- Restore DDB command, which was accidentally lost (hi martin).
- Misc.
Revision 1.114.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:18 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.114.6.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.6.2: +50 -27
lines
Sync with HEAD.
Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:46 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +50 -27
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Fri Aug 8 17:09:28 2008 UTC (16 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +23 -3
lines
Make "show uvmhist" available to all arches (not just sparc*) in ddb.
Revision 1.115.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:31 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +29 -26
lines
Sync with head.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Jul 10 12:42:24 2008 UTC (16 years, 4 months ago) by blymn
Branches: MAIN
CVS tags: simonb-wapbl-nbase,
simonb-wapbl-base
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -2
lines
Add a show files command that prints the vnodes associated with a
given struct proc and, if LOCKDEBUG is built in, the lock status of
the uvmobject.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Jul 10 12:38:28 2008 UTC (16 years, 4 months ago) by blymn
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +26 -26
lines
Whitespace clean up.
Revision 1.114.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:10 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.114.6.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.6.1: +1375 -0
lines
Sync with HEAD.
Revision 1.114.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:29 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +2 -9
lines
sync with head.
Revision 1.114.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:48 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -9
lines
sync with head.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:46 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl,
haad-dm
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.96.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:34 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.96.8.2: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.8.2: +5 -3
lines
sync with HEAD
Revision 1.79.2.9: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:31 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.8: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.8: +4 -3
lines
sync with head.
Revision 1.114.6.1
Thu Feb 21 02:07:45 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.114: +0 -1382
lines
file db_command.c was added on branch mjf-devfs2 on 2008-06-02 13:23:10 +0000
Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Feb 21 02:07:45 2008 UTC (16 years, 9 months ago) by uwe
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -3
lines
Fix help string for "w" - it is "write" not "watch".
Revision 1.110.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:31 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.110.2.2: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.2: +3 -2
lines
Sync with HEAD.
Revision 1.79.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:16 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.7: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.7: +3 -2
lines
sync with head.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Feb 2 18:16:42 2008 UTC (16 years, 10 months ago) by martin
Branches: MAIN
CVS tags: mjf-devfs-base
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -2
lines
When doing a reboot from ddb, set panicstr, so that later LOCKDEBUG checks
show the same mercy as with a real panic.
Revision 1.79.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:21 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.6: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.6: +22 -2
lines
sync with head
Revision 1.96.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:08 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.96.8.1: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.8.1: +24 -4
lines
sync with HEAD
Revision 1.110.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:43 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.110.2.1: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.2.1: +22 -2
lines
Sync with HEAD.
Revision 1.111.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:00 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +22 -2
lines
Sync with head.
Revision 1.111.6.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:55:17 2007 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +22 -2
lines
Sync with HEAD
Revision 1.111.4.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 05:05:31 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +22 -2
lines
sync with head.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Dec 13 02:45:11 2007 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-kmem-base3,
vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +22 -2
lines
add ddb "whatis" command. inspired from solaris ::whatis dcmd.
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:39 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -4
lines
Sync with HEAD.
Revision 1.108.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:15 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.108.2.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.2.1: +2 -2
lines
Sync with HEAD
Revision 1.79.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:43:59 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.5: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.5: +4 -4
lines
sync with head.
Revision 1.96.6.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:22 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.96.6.2: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.6.2: +4 -4
lines
Sync with HEAD.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Wed Nov 14 12:05:42 2007 UTC (17 years ago) by martin
Branches: MAIN
CVS tags: yamt-kmem-base2,
yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: yamt-kmem,
vmlocking2,
bouyer-xeni386
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -4
lines
Add a missing "else". Should finally fix PR kern/37110.
Revision 1.96.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:22 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +697 -177
lines
sync with HEAD
Revision 1.79.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:53 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.4: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.4: +697 -177
lines
sync with head.
Revision 1.96.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:07 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.96.6.1: preferred, colored; branchpoint 1.96: preferred, colored
Changes since revision 1.96.6.1: +44 -39
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:05 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +7 -7
lines
Sync with HEAD.
Revision 1.95.4.5: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:17:05 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.95.4.4: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.4.4: +3 -5
lines
Sync with head.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Oct 22 00:36:28 2007 UTC (17 years, 1 month ago) by martin
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +6 -4
lines
Pacify some gcc uninitialized warnings at -O3
Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:16:41 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -5
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.95.4.4: download - view: text, markup, annotated - select for diffs
Wed Oct 17 23:23:42 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.95.4.3: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.4.3: +24 -21
lines
Sync with head (fix ddb).
Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:47:58 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.1: +39 -34
lines
sync with head.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Oct 14 00:37:56 2007 UTC (17 years, 1 month ago) by uwe
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3
Branch point for: bouyer-xenamd64
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +24 -21
lines
db_cmd_search: When we compare names we'd better stop at the nul byte.
Don't flip-flop between found and ambiguous. (hi, martin!)
Revision 1.95.4.3: download - view: text, markup, annotated - select for diffs
Fri Oct 12 17:03:06 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.95.4.2: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.4.2: +20 -19
lines
Sync with head.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri Oct 12 09:53:07 2007 UTC (17 years, 1 month ago) by martin
Branches: MAIN
CVS tags: vmlocking-base
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +20 -19
lines
Fix command name matching, avoid jumps to null function pointers and
some minor cosmetics.
Revision 1.95.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:09 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.95.4.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.4.1: +670 -154
lines
Sync with head.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Oct 8 15:06:26 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -2
lines
Do another setjmp right before entering the command loop, we do not want
to execute the on-enter commands again on errors.
Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:31:03 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +136 -160
lines
sync with head.
Revision 1.96.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:28:16 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +669 -154
lines
Sync with HEAD.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Oct 2 08:47:26 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +57 -57
lines
Some cleanup:
- When registering command tables, make sure the builtin commands are
already registered
- Make the command table entry structure private
- Do not bother to store the number of commands in a table, we can quickly
calc that if needed.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Oct 1 22:05:15 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -2
lines
No need to db_init_commands() early any more - it will happen on first
entry to ddb.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Oct 1 22:01:38 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +76 -82
lines
Special case the initialization of builtin command tables to avoid using
malloc. Fixes PR kern/37042.
Allow "mach" commands registered by LKMs even if there is no builtin
mach command for the arch.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Sep 23 23:55:54 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +6 -7
lines
Minor clenaup - db_cmd_loop_done is a bool nowadays, so use true/false
instead of 0/1.
Also make db_init_commands() non-static.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Sep 23 19:51:20 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +18 -44
lines
Simplify the "tables are already setup" test.
Print a message on unknown commands (as we used to do before) and get rid
of the now unused macro previously used for that.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Sep 23 18:59:23 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +10 -2
lines
Fix build for archs w/o DB_MACHINE_COMMANDS.
Patch from KIYOHARA Takashi.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Sep 23 10:26:06 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
CVS tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3
lines
Add missing argument - fixes compilation if KGDB is defined.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Sep 22 18:40:26 2007 UTC (17 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +692 -154
lines
Add a new option DDB_VERBOSE_HELP that adds online help to ddb.
From Adam Hamsik.
Minor modifications by me, all bugs are probably mine.
Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 10 10:54:46 2007 UTC (17 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +3 -2
lines
Sync with HEAD.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Sep 7 18:56:06 2007 UTC (17 years, 3 months ago) by rmind
Branches: MAIN
CVS tags: nick-csl-alignment-base5
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -2
lines
Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
Revision 1.79.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:06 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.3: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.3: +3 -2
lines
sync with head.
Revision 1.95.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:54 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +3 -2
lines
Sync with head.
Revision 1.95.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:17:13 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -2
lines
Sync with head.
Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:22 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.1: +3 -2
lines
sync with head.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Apr 30 14:44:30 2007 UTC (17 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
matt-armv6,
jmcneill-pm
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -2
lines
Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.
Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.
Reviewed by: <tech-kern>, <ad>
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:43 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +61 -61
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.79.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:47 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.2: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.2: +72 -59
lines
sync with head.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:41:00 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +22 -22
lines
TRUE -> true, FALSE -> false
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Feb 22 04:38:05 2007 UTC (17 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +40 -40
lines
Fix lossage from boolean_t -> bool and updated x86 bus_dma.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Feb 21 22:59:56 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +12 -12
lines
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:26 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +15 -2
lines
Merge newlock2 to head.
Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 5 13:00:56 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.1: +15 -2
lines
- Dump the contents of a lock's turnstile when an error is detected.
- Add a 'show lock' command to DDB.
Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:49 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.1: +37 -23
lines
sync with head.
Revision 1.89.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:52 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.89.4.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.4.1: +35 -35
lines
sync with head.
Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:16 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +36 -21
lines
Sync with head.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:44 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +35 -35
lines
__unused removal on arguments; approved by core.
Revision 1.89.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:27 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +36 -21
lines
sync with head
Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:50 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +36 -21
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:26 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.1: +3 -4
lines
sync with head.
Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:09 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +21 -9
lines
sync with head
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Sep 5 21:56:44 2006 UTC (18 years, 3 months ago) by uwe
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -4
lines
ANSIfy db_error.
Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:11 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +63 -7
lines
sync with head.
Revision 1.83.4.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:02 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.83.4.1: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.4.1: +4 -3
lines
Sync with head.
Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:06 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +10 -7
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:36 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +10 -7
lines
sync with head.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun May 14 21:25:49 2006 UTC (18 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2
lines
integrate kauth.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun May 14 14:00:17 2006 UTC (18 years, 6 months ago) by he
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -4
lines
Move declaration up ahead of active code in the function, so that
this can be built again with gcc 2.95.3, as used by vax.
Revision 1.84.4.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:28:04 2006 UTC (18 years, 6 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.84.4.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.4.1: +4 -2
lines
sync with head
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed May 10 21:53:16 2006 UTC (18 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -2
lines
quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
Revision 1.83.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:45 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +18 -6
lines
Sync with head.
Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:33:02 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -6
lines
sync with head.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Apr 14 22:06:41 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -6
lines
Coverity CID 1094: Protect against NULL deref.
Revision 1.82.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:11 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.1: +12 -2
lines
sync with head.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Feb 19 18:52:29 2006 UTC (18 years, 9 months ago) by bjh21
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +12 -2
lines
Add a "show all pages" command to DDB which prints one line per physical
page in the system. Useful for getting some idea where all your memory's
gone, at least on a sufficiently small system.
Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:48 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +14 -2
lines
sync with head.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Jan 24 13:02:57 2006 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +14 -2
lines
add ddb "sh mbuf" command.
Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:47 2005 UTC (18 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.71.2.4: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.4: +33 -2
lines
Sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Dec 1 13:21:05 2005 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -2
lines
add "show all pools" command for ddb.
Revision 1.79.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:07 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +32 -2
lines
sync with head.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Nov 27 13:05:28 2005 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +27 -23
lines
make DDB_COMMANDONENTER sysctl. (ddb.commandonenter)
suggested by Christos Zoulas.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Nov 26 12:16:44 2005 UTC (19 years ago) by yamt
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +28 -2
lines
add a new option DDB_COMMANDONENTER.
which can be useful for eg. broken console input.
Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:03:00 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.71.2.3: preferred, colored
Changes since revision 1.71.2.3: +41 -36
lines
Sync with HEAD. Here we go again...
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Jun 1 12:25:27 2005 UTC (19 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-readahead,
yamt-lazymbuf
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +35 -35
lines
more constification fallout
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun May 29 21:31:05 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
Add lots of const.
Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:44 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +7 -2
lines
sync with -current
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Apr 29 10:40:16 2005 UTC (19 years, 7 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -2
lines
move decl of db_machine_command_table from db_interface.h to db_command.c
to avoid an array of incomplete type. found by gcc4.
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:24 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.71.2.2: preferred, colored
Changes since revision 1.71.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:27 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.71.2.1: preferred, colored
Changes since revision 1.71.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:46 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +17 -2
lines
Sync with HEAD
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 29 04:08:15 2004 UTC (20 years, 7 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
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,
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
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +2 -3
lines
Pullup rev 1.76 (requested by atatat in ticket #207)
Not supposed to be there
Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Apr 27 04:03:28 2004 UTC (20 years, 7 months ago) by atatat
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: kent-audio2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -3
lines
That's not supposed to be there. Sorry.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:52 2004 UTC (20 years, 8 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -2
lines
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Nov 18 18:26:18 2003 UTC (21 years ago) by dbj
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +15 -2
lines
add "show mount" ddb command
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Oct 10 15:21:24 2003 UTC (21 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -2
lines
add "b" as a synonym for "break", since someone added "bt"
and made "b" an ambiguous prefix.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Sep 20 03:02:03 2003 UTC (21 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -2
lines
Add a "show sched_qs" command to dump the run queues. Format is:
1 pid.lid (p_comm)
pid.lid (p_comm)
...
If a queue has procs, but no sched_whichqs bit, it shows:
!1 pid.lid (p_comm)
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri May 16 16:28:30 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
switch to use strlcpy() from libkern.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu May 15 13:18:18 2003 UTC (21 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +11 -3
lines
(1) Don't print the message buffer (via ddb's dmesg command) if the
message buffer has not yet been set up, mimicking code from the top of
the sysctl routine for retrieving the message buffer.
(2) Add a /l modifier to the trace command. This makes it print the
backtrace using printf() instead of db_printf(), which has the nice
side-effect of also putting it into the message buffer. A kernel with
ddb in it but disabled (ie, ddb.onpanic set to zero) will print a
backtrace (which ends up in the message buffer) before dumping (or
not, depending on the value of kern.dump_on_panic) and rebooting, but
if ddb is not disabled, the backtrace is not printed, and there's no
way to get it to display a backtrace such that you can retrieve it
after the dump. The backtrace printed by gdb is sometimes a little
different.
(3) Documentation for the above.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Apr 28 02:49:54 2003 UTC (21 years, 7 months ago) by briggs
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -2
lines
Add a rudimentary 'trap to kgdb' command if KGDB is defined. This allows
systems with only one serial port for console, etc., to have at least some
basic access to remote-kgdb-over-serial, even if it is a bit awkward.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Feb 13 23:50:33 2003 UTC (21 years, 9 months ago) by jmc
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -2
lines
Add a synonym for trace - 'bt' and document it
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Jan 20 07:20:01 2003 UTC (21 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -4
lines
Remove variable that is only assigned too but not referenced.
Revision 1.60.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:41 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.60.2.4: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.4: +12 -11
lines
sync kqueue branch with HEAD
Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:18 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +12 -11
lines
catch up with -current.
Revision 1.57.2.5: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:46:31 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.57.2.4: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.4: +12 -11
lines
Catch up to -current.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Aug 26 11:34:28 2002 UTC (22 years, 3 months ago) by scw
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
fvdl_fs64_base
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +12 -11
lines
Casting from a pointer, to a db_expr_t, has to go via an intptr_t.
(db_expr_t == int64_t on sh5, for example).
Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:43 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.60.2.3: preferred, colored
Changes since revision 1.60.2.3: +406 -432
lines
Catch up with -current.
Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:05 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.3: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.3: +406 -432
lines
Catch up to -current.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Feb 15 11:18:26 2002 UTC (22 years, 9 months ago) by simonb
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +28 -13
lines
Add a "show event" ddb command to show the event counters.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Feb 15 07:33:50 2002 UTC (22 years, 9 months ago) by simonb
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +388 -429
lines
ANSIfy, KNF.
Make some variables and functions static when not used outside of a module.
Make variables in headers extern.
Delete the unused db_find_watchpoint() function.
Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:52:37 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.60.2.2: preferred, colored
Changes since revision 1.60.2.2: +8 -4
lines
Sync kqueue branch with -current.
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:37 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.2: +8 -4
lines
Catch up to -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Nov 12 22:54:04 2001 UTC (23 years ago) by lukem
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +8 -4
lines
add RCSIDs
Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:07 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.60.2.1: preferred, colored
Changes since revision 1.60.2.1: +21 -1
lines
Merge Aug 24 -current into the kqueue branch.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:01 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +22 -1
lines
Catch up with -current.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Aug 17 01:00:10 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +21 -1
lines
Add `show malloc' to dump the internal state of the MALLOC_DEBUG code.
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:50 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1
lines
update to -current
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jul 31 04:28:16 2001 UTC (23 years, 4 months ago) by atatat
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1
lines
Add an easy way to dump the message buffer from ddb.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:01:08 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -3
lines
Catch up to -current.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jun 3 00:32:25 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -1
lines
Default to kernel_map if no addr is available.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jun 2 18:09:25 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2
lines
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed May 30 11:42:12 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2
lines
use _KERNEL_OPT
Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:30:00 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.3: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.3: +5 -5
lines
Sync with HEAD.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Feb 11 21:12:24 2001 UTC (23 years, 9 months ago) by jhawk
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5
lines
alphabetize db_command tables
Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:12 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.2: +17 -39
lines
Sync with HEAD.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Jan 24 20:54:41 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
make db_command_table[] const; since there is no way to dynamically extend
or modify the table at the moment, there is no functionality lost.
See also the discussion on tech-kern (Subject: 'machine' DDB command).
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Jan 22 13:56:55 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -24
lines
Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()
Patch written by enami.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jan 18 08:52:26 2001 UTC (23 years, 10 months ago) by enami
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
db_command_table needs to be writable at least when DB_MACHINE_COMMANDS
is defined.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jan 17 19:50:03 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +16 -16
lines
constify a little
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:09:51 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +27 -3
lines
Sync with HEAD.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Nov 28 19:27:46 2000 UTC (24 years ago) by eeh
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -1
lines
Restore the top level `callout' command.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Nov 24 07:25:51 2000 UTC (24 years ago) by chs
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +27 -4
lines
add ddb commands "show uvmexp" and "show ncache".
the former used to be "call uvm_dump", the latter is new.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:47 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +219 -61
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jul 8 17:10:22 2000 UTC (24 years, 5 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2
lines
printf format safety
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:55:39 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:06:11 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +27 -11
lines
Sync w/ netbsd-1-5-base.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Jun 17 05:57:41 2000 UTC (24 years, 5 months ago) by jhawk
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -6
lines
In db_command(), fix indentation and add a missing db_skip_to_eol() which
previously caused the next command following a ","-style repitition
to not be properly executed.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jun 10 16:31:42 2000 UTC (24 years, 6 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +13 -2
lines
In the "reboot" and (badly misnamed) "sync" commands, clear db_recover
before calling cpu_reboot() (which never returns) so we can debug
faults occurring in cpu_reboot().
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jun 8 21:06:46 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -2
lines
Only define db_show_arptab if NARP>1;
pointed out by cgd in kern/10314
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jun 6 05:06:25 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2
lines
Stop using DDB-specific "%n" kprintf() format specifier. This was
important as db_sym() can be called through printf() rather than
db_printf(), causing a trap as the standard %n usage is invoked.
The DDB-specific %n code should disappear from subr_prf.c soon...
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun May 28 19:03:55 2000 UTC (24 years, 6 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -3
lines
Change printing of cpu number in the prompt in the MULTIPROCESSOR case
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri May 26 03:34:31 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +14 -1
lines
Rename the machine-specific stack trace printing functions
from db_stack_trace_cmd() to db_stack_trace_print(),
and add an additional argument, a function pointer for an
output routine (i.e. printf() or db_printf()).
Add db_stack_trace_cmd() in db_command.[ch], calling
db_stack_trace_print() with db_printf() as the printer.
Move count==-1 special handling from db_stack_trace_print() [nee
db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here].
Again, I'm unable to test compilation on all affected platforms,
so advance apologies for potential brokenness.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue May 23 06:06:10 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
Fix a printf format.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon May 22 14:49:10 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +36 -1
lines
Add a "sifting" command to ddb (named from the Sun OpenPROM command of
the same name); it searches the symbol table(s) for all symbols matching
a given substring, and prints.
Extremely useful for when you forget that critical symbol name.
Also, with /F support (cf. "ls -F") to print a char indicating the
symbol type.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat May 20 03:08:41 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -1
lines
Install "show arptab" (db_show_arptab) in the ddb command tree.
Move prototype from netinet/if_inarp.h to ddb/db_interface.h.
Change function to have standard ddb parameters (though they're
ignored).
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon May 15 19:56:43 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
"p" should be an alias for "print", and was until "ps" was added.
Now it is, again.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Apr 13 22:48:29 2000 UTC (24 years, 7 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +17 -4
lines
From kern/9569.
Preserve ddb's idea of "count" from one command to the next if
repeating a command via hitting newline.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Apr 11 02:21:16 2000 UTC (24 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1
lines
actually add buf- and vnode-printing commands to the table.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Apr 10 02:22:13 2000 UTC (24 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +34 -1
lines
add ddb commands for printing vnodes and bufs.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:31:26 2000 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4
lines
Die, register, die!
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Feb 21 05:48:56 2000 UTC (24 years, 9 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +11 -1
lines
On MP, print cpu number prior to prompt
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:33 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +83 -50
lines
Pull up to last week's -current.
Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:07 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +83 -50
lines
Sync with -current
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Nov 2 23:53:31 1999 UTC (25 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
db_cmd_list(): variable ``width'' might have be used uninitialized, initialize
it to 0
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Oct 28 06:37:32 1999 UTC (25 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +83 -50
lines
- change db_cmd_list() to list commands vertically rather than horizontally
- sort entries in the various command tables, so that the `help' lists
are easier to use. this included hacking db_machine_commands_install()
to search for the "machine" entry to change the `more cmds' pointer,
rather than assuming it was the first entry
- add a `sync' command, which is effectively `reboot 0x100'.
- remove db_help_cmd(); it was unused (and was almost a duplicate of
db_cmd_list()).
- move some extern decls to db_output.h, since they're used in more than one
place now
- rename NEXT_TAB to DB_NEXT_TAB and move to db_output.h
Revision 1.28.2.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:16:20 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.28.2.2.2.1: preferred, colored; branchpoint 1.28.2.2: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.2.2.1: +15 -1
lines
Sync w/ -current.
Revision 1.28.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 7 04:25:29 1999 UTC (25 years, 6 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +36 -1
lines
merge everything from chs-ubc branch.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon May 10 21:13:05 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +15 -1
lines
Improve the pool allocator's diagnostic helpers, adding the ability to
log on a per-pool basis, reentrancy checking, and dumping various pool
information from DDB.
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 12 21:27:07 1999 UTC (25 years, 7 months ago) by pk
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +2 -2
lines
Pullup copyright text corrections.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 12 20:38:20 1999 UTC (25 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Quote "AS IS" as in the majority of Carnegy Mellon notices.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 7 08:12:50 1999 UTC (25 years, 8 months ago) by pk
Branches: netbsd-1-4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Pull up from trunk: copyright text warts.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Apr 6 20:09:21 1999 UTC (25 years, 8 months ago) by pk
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Fix a pasto in copyright text which has been procreating like rabbits..
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:20 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -16
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 9 06:06:31 1998 UTC (26 years, 1 month ago) by chs
Branches: chs-ubc
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +36 -1
lines
initial snapshot. lots left to do.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jul 5 14:33:56 1998 UTC (26 years, 5 months ago) by tron
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
eeh-paddr_t-base,
eeh-paddr_t,
chs-ubc-base
Branch point for: chs-ubc
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
Include required "opt_ddb.h" header file.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:48 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1
lines
defopt DDB.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:09:16 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Feb 5 07:59:35 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +34 -1
lines
initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:49:52 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +23 -2
lines
Update marc-pcmcia branch from trunk.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Sep 11 06:55:56 1997 UTC (27 years, 2 months ago) by scottr
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +23 -2
lines
Add a 'reboot' command with a single parameter specifying the boot flags.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed May 7 18:51:58 1997 UTC (27 years, 7 months ago) by gwr
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1
lines
Add a "kill" command that calls db_kill_proc().
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Feb 3 23:43:35 1997 UTC (27 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
db_expr_t became a long.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 30 22:30:05 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Fix db_printf format specifications.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Mar 13 21:06:38 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Kernel version of longjmp() does not take the return value of setjmp() as
an argument. setjmp() always returns 1.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Mar 7 14:33:39 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1
lines
Bring setjmp/longjmp prototypes into scope.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Feb 13 17:39:01 1996 UTC (28 years, 9 months ago) by gwr
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -8
lines
eliminate setjmp.h
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Feb 5 01:56:53 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +58 -66
lines
DDB prototype changes.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 26 14:52:33 1995 UTC (29 years, 1 month ago) by gwr
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1
lines
Need to include <vm/vm.h>
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 16 05:28:14 1995 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Fix nits pointed out by GCC 2.7.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 9 08:29:59 1994 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -5
lines
Clean up #includes.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:31:01 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Apr 27 10:49:07 1994 UTC (30 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1
lines
Add "show callout".
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Mar 23 20:00:56 1994 UTC (30 years, 8 months ago) by pk
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +17 -30
lines
struct command => struct db_command, and define it in db_command.h
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 9 22:56:07 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Pointers to arrays behave oddly in C...
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jan 9 22:35:10 1994 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +16 -13
lines
Push and pop db_recover for error handling, so we can set up temporary catch
points easily. (Alluded to by m68k code, but not implemented yet for some
reason.)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Dec 18 04:46:29 1993 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -3
lines
Canonicalize all #includes.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 14 22:48:30 1993 UTC (31 years ago) by mycroft
Branches: magnum
Diff to: previous 1.5.2.1: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +3 -3
lines
Canonicalize all #includes.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 14 18:17:23 1993 UTC (31 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +42 -25
lines
Incorporate changes from main branch.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Sep 13 14:08:54 1993 UTC (31 years, 2 months ago) by brezak
Branches: MAIN
CVS tags: magnum-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +42 -25
lines
Call vm_map_print and vm_object_print with func ptr to db_printf. Add DDB_MACHINE_COMMANDS from Mach 3.0 version.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Aug 2 17:53:12 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Branch point for: magnum
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -56
lines
Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jul 15 18:35:00 1993 UTC (31 years, 4 months ago) by brezak
Branches: MAIN
CVS tags: netbsd-0-9-patch-001,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +48 -19
lines
Add 'ps' command. Add -more- pager to output from Mach ddb.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 03:39:10 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -1
lines
add explicit rcs id
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:04:42 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -15
lines
after 0.2.2 "stable" patches applied
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714
CVS tags: WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>