Commit Graph

24 Commits

Author SHA1 Message Date
yamt 25c71c5e71 fix format 2011-02-05 14:12:05 +00:00
eeh 4758e23503 Add a command to dump all thread stacks in the system and a command to dump
lockdebug state.
2009-11-18 18:12:00 +00:00
eeh 4d55497aed Add the lwp address so you don't have to leave gdb and use ps to grab an lwp's
stack.
2009-11-18 18:05:51 +00:00
eeh eea5c3505f Print out all 64-bits of 64-bit values on 64-bit machines and add documentation
of these commands to gdb.
2009-11-18 18:04:26 +00:00
eeh e2017f3504 Get gdb to document the command. 2009-11-18 18:02:00 +00:00
skrll 55222df828 Use the right pointer to traverse the proc's lwp list.
From PR 41788.
2009-07-28 10:38:20 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
ad 0a71f5fe72 +cpus 2008-02-20 21:01:23 +00:00
ad 9c235d70b6 - Replace 'xps' with 'procs' and 'lwps'.
- Needs a bit more work.
2008-02-20 20:56:35 +00:00
ad d2133b5aec stats is gone 2008-02-20 20:43:40 +00:00
ad fb60c04396 This is useless! 2008-02-20 20:36:29 +00:00
pooka 78e8aceaac adapt to mnt_vnodelist being TAILQ 2006-11-04 20:33:17 +00:00
pooka 88134b62a2 add mountdump, prints mount point information a little like mount(8) 2006-11-04 20:29:30 +00:00
pooka 751537fe38 Make these work again. I know, I'm a bit impatient, since they've
only been broken for 12 years, but some things are better done
sooner than later.

While meddling here, introduce mp_vchain, which prints the vnode
chain given a mount point.
2006-09-29 15:43:06 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
perry 477853c351 nuke trailing whitespace 2005-02-26 22:58:54 +00:00
briggs 1f20c98b90 Clean up the output a little and print the lwp pointer. 2003-04-28 01:43:48 +00:00
lha 59dc4c7d0f adapt to lwp-world 2003-02-26 21:36:14 +00:00
thorpej 556a752996 Build a .gdbinit in the kernel build directory. The new .gdbinit
will source all of the system-provided gdb scrips in sys/gdbscripts,
as well as any files specified by the user in the GDBINIT make var.
2002-09-01 23:04:47 +00:00
deberg 85c0b91ee4 fix pointer arithmetic 2001-01-11 05:31:02 +00:00
jhawk 59f702f762 gdb macro to print the kernel message buffer 2000-06-08 14:45:24 +00:00
cgd faccc00a5a widen proc pointer and wchan pointer fields from 10 to 18 characters, so
that pointers on 64-bit systems are printed properly.  This means that
there'll be a lot of extra space on 32-bit systems, but gdb's printf doesn't
support * for width or precision specifiers, so it can't really be done much
better.
1997-04-16 00:58:26 +00:00
gwr 69506806ea Add NetBSD cvs id lines. 1997-02-12 23:35:06 +00:00
gwr 48faabf317 Macros for gdb when debugging the kernel (from 4.4-Lite2). 1997-02-12 22:09:45 +00:00