CVS commit: src/sys/ddb

2021-07-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jul 20 11:39:16 UTC 2021 Modified Files: src/sys/ddb: db_panic.c Log Message: need for COHERENCY_UNIT To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/ddb/db_panic.c Please note that diffs are not

CVS commit: src/sys/ddb

2021-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 18 01:28:50 UTC 2021 Modified Files: src/sys/ddb: db_interface.h Log Message: don't provide db_lstacktrace() for crash (yet?). To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/ddb/db_interface.h

CVS commit: src/sys/ddb

2021-04-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 18 01:05:23 UTC 2021 Modified Files: src/sys/ddb: db_interface.h Log Message: db_lstacktrace() can't use db_stacktrace_print and log() directly. log() takes a 'int level' first argument, that must be supplied. add an inline

CVS commit: src/sys/ddb

2021-04-11 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 12 02:49:02 UTC 2021 Modified Files: src/sys/ddb: db_sym.c Log Message: avoid assigning both signed and unsigned variables in the same statement. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67

CVS commit: src/sys/ddb

2021-02-09 Thread Simon Burge
Module Name:src Committed By: simonb Date: Wed Feb 10 07:17:39 UTC 2021 Modified Files: src/sys/ddb: db_interface.h Log Message: Allow for MD code to use a different function than db_stack_trace_print() to be used with db_stacktrace() and friends by pre-defining the

CVS commit: src/sys/ddb

2021-02-06 Thread Darrin B. Jewell
Module Name:src Committed By: dbj Date: Sat Feb 6 16:03:26 UTC 2021 Modified Files: src/sys/ddb: files.ddb Log Message: defparam DB_MAX_WIDTH To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/ddb/files.ddb Please note that diffs are not public

CVS commit: src/sys/ddb

2021-01-10 Thread Simon Burge
Module Name:src Committed By: simonb Date: Mon Jan 11 07:49:05 UTC 2021 Modified Files: src/sys/ddb: db_proc.c Log Message: For "ps/a" print all of p_comm instead of just the first 10 chars, add a space after PID, left justify the command name. To generate a diff of

CVS commit: src/sys/ddb

2020-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Dec 19 23:32:36 UTC 2020 Modified Files: src/sys/ddb: TODO Log Message: update several items that are done or dead. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/ddb/TODO Please note that diffs are not

CVS commit: src/sys/ddb

2020-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 30 16:29:49 UTC 2020 Modified Files: src/sys/ddb: db_command.c Log Message: Remove "also;" To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/ddb/db_command.c Please note that diffs are not public

CVS commit: src/sys/ddb

2020-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 30 07:17:29 UTC 2020 Modified Files: src/sys/ddb: db_command.c Log Message: Sort the db_show_cmd entries To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/ddb/db_command.c Please note that diffs

CVS commit: src/sys/ddb

2020-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 30 07:03:50 UTC 2020 Modified Files: src/sys/ddb: db_command.c Log Message: Put the 'added from all sub cmds' comment above the four commands that were added as part of the work in r1.98 To generate a diff of this

CVS commit: src/sys/ddb

2020-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 30 06:59:43 UTC 2020 Modified Files: src/sys/ddb: db_command.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/ddb/db_command.h Please note that diffs are not public domain;

CVS commit: src/sys/ddb

2020-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 30 06:57:09 UTC 2020 Modified Files: src/sys/ddb: db_command.c db_command.h db_input.c db_proc.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/ddb/db_command.c

CVS commit: src/sys/ddb

2020-07-29 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Wed Jul 29 23:29:42 UTC 2020 Modified Files: src/sys/ddb: db_lex.c db_lex.h Log Message: db_get_line - raw access to the DDB command line. Provide a way for DDB commands to access the remainder of the command line as-is. To

CVS commit: src/sys/ddb

2020-06-27 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sun Jun 28 04:06:14 UTC 2020 Modified Files: src/sys/ddb: db_output.h Log Message: Protect against multiple inclusion. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/ddb/db_output.h Please note that

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 23:34:34 UTC 2020 Modified Files: src/sys/ddb: db_kernel.c Log Message: Switch from kmem_intr_alloc(sz, KM_NOSLEEP) to kmem_alloc(sz, KM_SLEEP). Clearly document these functions are *not* for DDB session, but for

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:51:55 UTC 2020 Modified Files: src/sys/ddb: db_command.h ddb.h Removed Files: src/sys/ddb: db_alloc.h Log Message: Revert introduction of db_alloc.h. db_alloc() and friends are already provided in crash.c.

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:42:46 UTC 2020 Modified Files: src/sys/ddb: db_kernel.c Log Message: XXX DDB can be running in the interrupt context, e.g., when activated from console. Therefore, we use kmem_intr_alloc(9) and friends in order to

CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun May 31 09:40:09 UTC 2020 Modified Files: src/sys/ddb: db_command.h ddb.h Added Files: src/sys/ddb: db_alloc.h Log Message: Introduce db_alloc.h. Provide db_alloc() and friends to userland, i.e., crash(8). To generate

CVS commit: src/sys/ddb

2020-04-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Apr 13 11:43:27 UTC 2020 Modified Files: src/sys/ddb: db_command.c Log Message: Handle "no count" properly in db_kernhist_print_cmd To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/ddb/db_command.c

CVS commit: src/sys/ddb

2020-04-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 4 13:59:16 UTC 2020 Modified Files: src/sys/ddb: db_proc.c Log Message: also print the LWP reference count. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/ddb/db_proc.c Please note that diffs

CVS commit: src/sys/ddb

2020-03-30 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Mar 30 20:45:59 UTC 2020 Modified Files: src/sys/ddb: db_sym.c Log Message: Remove a.out leftovers (unused) To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/ddb/db_sym.c Please note that diffs are not

CVS commit: src/sys/ddb

2020-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 10 15:58:37 UTC 2020 Modified Files: src/sys/ddb: db_command.c db_command.h db_print.c db_variables.c db_xxx.c Log Message: Make the db_kernelonly() macro visible to all files and re-use it. Register access

CVS commit: src/sys/ddb

2020-03-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 9 01:46:24 UTC 2020 Modified Files: src/sys/ddb: db_command.c Log Message: print a message for the commands crash does not support. Allow "show lock" To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168

CVS commit: src/sys/ddb

2020-02-25 Thread Hikaru Abe
Module Name:src Committed By: hikaru Date: Wed Feb 26 07:57:24 UTC 2020 Modified Files: src/sys/ddb: db_proc.c Log Message: Correct PPID of "show all procs/n" To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/ddb/db_proc.c Please note that diffs are

CVS commit: src/sys/ddb

2020-01-25 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Jan 26 01:42:55 UTC 2020 Modified Files: src/sys/ddb: db_output.c Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/ddb/db_output.c Please note that diffs are not public

CVS commit: src/sys/ddb

2019-03-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Mar 12 07:44:58 UTC 2019 Modified Files: src/sys/ddb: db_trap.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/ddb/db_trap.c Please note that diffs are not public domain; they are

CVS commit: src/sys/ddb

2018-11-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 2 11:59:59 UTC 2018 Modified Files: src/sys/ddb: db_proc.c Log Message: no, should be dst To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/ddb/db_proc.c Please note that diffs are not public domain;

CVS commit: src/sys/ddb

2018-11-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 2 08:59:59 UTC 2018 Modified Files: src/sys/ddb: db_proc.c Log Message: Don't overflow on the strings we read. Introduce db_read_string(), which stops on '\0'. Probably this doesn't matter a lot because the read is

CVS commit: src/sys/ddb

2018-09-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Sep 17 01:49:54 UTC 2018 Modified Files: src/sys/ddb: db_command.c Log Message: When this file is used when not building the kernel (eg: /usr/sbin/crash) make cnpollc() go away. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/ddb

2018-09-15 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Sep 15 08:48:18 UTC 2018 Modified Files: src/sys/ddb: db_command.c Log Message: 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

CVS commit: src/sys/ddb

2018-05-27 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun May 27 12:24:36 UTC 2018 Modified Files: src/sys/ddb: db_panic.c Log Message: Add missing $NetBSD$ comment at the beginning. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/ddb/db_panic.c Please note that

CVS commit: src/sys/ddb

2018-03-15 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Mar 16 04:45:20 UTC 2018 Modified Files: src/sys/ddb: db_command.c Log Message: Don't pass a unset address to lockdebug_lock_print To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/sys/ddb/db_command.c

CVS commit: src/sys/ddb

2018-03-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Mar 5 07:47:21 UTC 2018 Modified Files: src/sys/ddb: db_autoconf.c Log Message: enums might be unsigned. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/ddb/db_autoconf.c Please note that diffs are

CVS commit: src/sys/ddb

2018-03-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Mar 4 07:14:51 UTC 2018 Modified Files: src/sys/ddb: db_command.c db_interface.h ddb.h files.ddb Added Files: src/sys/ddb: db_autoconf.c db_autoconf.h Log Message: Add command to print device list. To generate a

CVS commit: src/sys/ddb

2018-02-16 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Sat Feb 17 00:41:09 UTC 2018 Modified Files: src/sys/ddb: db_panic.c db_variables.c ddbvar.h Log Message: Opt to print a backtrace on panic by default with the intention of improving bug reports. Instead of relying on

CVS commit: src/sys/ddb

2018-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 4 09:17:54 UTC 2018 Modified Files: src/sys/ddb: db_access.c Log Message: avoid leftshift of an unsigned value To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/ddb/db_access.c Please note that diffs

CVS commit: src/sys/ddb

2017-12-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 28 17:51:19 UTC 2017 Modified Files: src/sys/ddb: db_panic.c db_variables.c db_variables.h ddbvar.h files.ddb Log Message: - add ddb.panicstackframes to avoid scrolling the interesting parts of panic

CVS commit: src/sys/ddb

2017-11-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 6 04:08:02 UTC 2017 Modified Files: src/sys/ddb: db_elf.c Log Message: remove more DB_ELFSIZE To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/ddb/db_elf.c Please note that diffs are not public

CVS commit: src/sys/ddb

2017-01-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 4 21:25:41 UTC 2017 Modified Files: src/sys/ddb: db_interface.h Log Message: add a simple stacktrace macro To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/ddb/db_interface.h Please note that

CVS commit: src/sys/ddb

2015-06-06 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jun 6 22:06:05 UTC 2015 Modified Files: src/sys/ddb: db_access.c db_examine.c db_write_cmd.c Log Message: Add support for 'q' qualifier for 64-bit values on examine and write. Align data to long so that the MD parts can use

CVS commit: src/sys/ddb

2015-05-21 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 21 08:23:22 UTC 2015 Modified Files: src/sys/ddb: db_command.c Log Message: only call the on-enter commands if we're not recursing. avoids having a fault in the on-enter commands repeating. To generate a diff of this

CVS commit: src/sys/ddb

2015-02-26 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Fri Feb 27 00:47:30 UTC 2015 Modified Files: src/sys/ddb: db_xxx.c Log Message: Don't use an unset value as an address Instead, show usage if no address is passed. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/ddb

2015-02-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 8 19:41:39 UTC 2015 Modified Files: src/sys/ddb: db_command.c Log Message: we can use show callout now from crash To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/ddb/db_command.c Please note

CVS commit: src/sys/ddb

2014-11-15 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sun Nov 16 05:46:27 UTC 2014 Modified Files: src/sys/ddb: files.ddb Log Message: Define ddb module. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/ddb/files.ddb Please note that diffs are not public

CVS commit: src/sys/ddb

2014-09-19 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Sep 19 17:29:01 UTC 2014 Modified Files: src/sys/ddb: db_run.c Log Message: Add description of inst_return To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/ddb/db_run.c Please note that diffs are not

CVS commit: src/sys/ddb

2014-09-05 Thread Matt Thomas
Module Name:src Committed By: matt Date: Fri Sep 5 09:27:24 UTC 2014 Modified Files: src/sys/ddb: db_xxx.c Log Message: Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get a correctly typed pointer. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/ddb

2014-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 22 15:20:40 UTC 2014 Modified Files: src/sys/ddb: db_panic.c Log Message: add a return in the panic message To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/ddb/db_panic.c Please note that diffs

CVS commit: src/sys/ddb

2013-10-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Oct 19 14:33:07 UTC 2013 Modified Files: src/sys/ddb: db_run.c Log Message: Mark a potentialy unused variable To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/ddb/db_run.c Please note that diffs are

CVS commit: src/sys/ddb

2013-10-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 19 15:20:52 UTC 2013 Modified Files: src/sys/ddb: db_command.c Log Message: fix userland build, by moving all the unused stuff inside ifdef _KERNEL To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143

CVS commit: src/sys/ddb

2013-02-10 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sun Feb 10 10:26:12 UTC 2013 Modified Files: src/sys/ddb: ddbvar.h Log Message: read_symtab_from_file used to be defined in ddb/db_aout.c, but that file was deleted in 2011. Now delete the declaration in ddb/ddbvar.h. To generate

CVS commit: src/sys/ddb

2013-02-10 Thread Alan Barrett
Module Name:src Committed By: apb Date: Sun Feb 10 11:05:31 UTC 2013 Modified Files: src/sys/ddb: files.ddb Log Message: Hook the new ddb/db_panic.c to the build. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/ddb/files.ddb Please note that diffs

CVS commit: src/sys/ddb

2013-02-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 10 14:44:14 UTC 2013 Modified Files: src/sys/ddb: db_panic.c Log Message: need sys/types.h for various crap that other headers use (pid_t etc). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/ddb

2013-01-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 6 03:23:55 UTC 2013 Modified Files: src/sys/ddb: db_command.c db_interface.h db_xxx.c Log Message: Add show dmesg that prints the contents of the message buffer. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/ddb

2013-01-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 6 03:34:52 UTC 2013 Modified Files: src/sys/ddb: db_command.c db_interface.h db_xxx.c Log Message: remove previous, dmesg just works. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141

CVS commit: src/sys/ddb

2013-01-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 6 04:17:27 UTC 2013 Modified Files: src/sys/ddb: db_command.c Log Message: remove the new command not the old one. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/ddb/db_command.c Please note

CVS commit: src/sys/ddb

2013-01-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 5 15:23:27 UTC 2013 Modified Files: src/sys/ddb: db_command.c db_interface.h db_xxx.c Log Message: Add show panic that shows the current panic string. two ports had it, and it could be easily made MI. To generate a

CVS commit: src/sys/ddb

2012-08-31 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Sep 1 00:28:12 UTC 2012 Modified Files: src/sys/ddb: db_output.c files.ddb Log Message: Make DB_MAX_LINES a kernel option To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/ddb/db_output.c cvs rdiff -u

CVS commit: src/sys/ddb

2012-08-31 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Sep 1 01:13:52 UTC 2012 Modified Files: src/sys/ddb: db_output.c Log Message: Use _KERNEL_OPT To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/ddb/db_output.c Please note that diffs are not public

CVS commit: src/sys/ddb

2012-02-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 9 17:07:07 UTC 2012 Modified Files: src/sys/ddb: db_sym.c Log Message: Re-indent, and factor out strlen() now that we have more space. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.62

CVS commit: src/sys/ddb

2012-02-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 10 02:14:04 UTC 2012 Modified Files: src/sys/ddb: db_sym.c Log Message: fix printf formats. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/ddb/db_sym.c Please note that diffs are not public

CVS commit: src/sys/ddb

2012-02-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 10 02:14:23 UTC 2012 Modified Files: src/sys/ddb: db_interface.h db_lwp.h db_output.h db_sym.h Log Message: add __printflike where needed To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/ddb

2012-02-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 9 00:21:23 UTC 2012 Modified Files: src/sys/ddb: db_sym.c Log Message: Remove bogus code in the non kernel case involving end[]. In this case end[] is the end of the crash program symbols, so using that as the end of

CVS commit: src/sys/ddb

2011-12-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Dec 31 22:42:25 UTC 2011 Modified Files: src/sys/ddb: db_user.h Log Message: include stddef.h for offsetof To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/ddb/db_user.h Please note that diffs are not

CVS commit: src/sys/ddb

2011-12-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Dec 3 16:25:50 UTC 2011 Modified Files: src/sys/ddb: db_xxx.c Log Message: If we are DIAGNOSTIC don't try to go further if we failed to take the lock, because we are going to trigger a KASSERT. Also hold the lock longer

CVS commit: src/sys/ddb

2011-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 2 23:57:59 UTC 2011 Modified Files: src/sys/ddb: db_xxx.c Log Message: deal with the proc_lock mutex. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/ddb/db_xxx.c Please note that diffs are not

CVS commit: src/sys/ddb

2011-11-12 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Nov 13 03:21:51 UTC 2011 Modified Files: src/sys/ddb: db_command.c Log Message: set panicstr to reboot forced via kernel debugger when rebooting from ddb, similar to how sync from ddb works. this avoids various asserts and

CVS commit: src/sys/ddb

2011-10-23 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Oct 23 13:30:20 UTC 2011 Modified Files: src/sys/ddb: db_proc.c Log Message: Like ddb(4) ps/l, use '' sign to indicate running LWPs for the /w modifier. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/sys/ddb

2011-05-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 31 03:40:22 UTC 2011 Modified Files: src/sys/ddb: db_xxx.c Log Message: re-instate db_kill_proc To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/ddb/db_xxx.c Please note that diffs are not public

CVS commit: src/sys/ddb

2011-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 12 08:42:12 UTC 2011 Modified Files: src/sys/ddb: db_lwp.c db_print.c Log Message: include sys/cpu.h when using cpu specific info. fixes building these as part of sparc64 crash(8). To generate a diff of this commit: cvs

CVS commit: src/sys/ddb

2011-04-12 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Tue Apr 12 17:46:38 UTC 2011 Modified Files: src/sys/ddb: db_proc.c Log Message: Fix GENERIC_SUN4U build. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/ddb/db_proc.c Please note that diffs are not

CVS commit: src/sys/ddb

2011-04-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 10 20:59:22 UTC 2011 Modified Files: src/sys/ddb: db_command.c db_interface.h db_proc.c Log Message: Add: usage: show proc [/a] [/p] address|pid /a == argument is an address of any lwp /p == argument is

CVS commit: src/sys/ddb

2011-04-10 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Apr 11 04:26:18 UTC 2011 Modified Files: src/sys/ddb: db_sym.c Log Message: avoid compiling dead code into crash. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/ddb/db_sym.c Please note that diffs are

CVS commit: src/sys/ddb

2011-02-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sun Feb 20 10:24:45 UTC 2011 Modified Files: src/sys/ddb: db_cpu.c Log Message: When looking for the next element of cpu_queue compare the pointer to the address of the head, not to the head itself. Not sure if the cast of the

CVS commit: src/sys/ddb

2011-02-09 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Feb 9 18:24:45 UTC 2011 Modified Files: src/sys/ddb: db_trap.c Log Message: Since curlwp and curproc must always be non-NULL, remove the == NULL branches. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/ddb

2010-09-13 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Mon Sep 13 08:42:04 UTC 2010 Modified Files: src/sys/ddb: db_command.c Log Message: fix extern/static inconsistency To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/ddb/db_command.c Please note that

CVS commit: src/sys/ddb

2010-08-31 Thread enami tsugutomo
Module Name:src Committed By: enami Date: Tue Aug 31 07:12:55 UTC 2010 Modified Files: src/sys/ddb: db_input.c Log Message: Fix indent in prevous commit. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_input.c Please note that diffs are not

CVS commit: src/sys/ddb

2010-08-31 Thread enami tsugutomo
Module Name:src Committed By: enami Date: Tue Aug 31 07:48:23 UTC 2010 Modified Files: src/sys/ddb: db_input.c Log Message: Define db_hist_put() only when DDB_HISTORY_SIZE != 0 so that build successes on ports like hpcarm. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/ddb

2010-08-30 Thread Thor Lancelot Simon
Module Name:src Committed By: tls Date: Mon Aug 30 19:23:26 UTC 2010 Modified Files: src/sys/ddb: db_input.c Log Message: Don't overflow DDB command history. Coyote Point changelist description: DDB is flakey. The command history wanders past the bounds. Way past.

CVS commit: src/sys/ddb

2010-02-02 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Tue Feb 2 09:04:14 UTC 2010 Modified Files: src/sys/ddb: db_user.h db_write_cmd.c Log Message: Include ctype.h in the central place which deals with building the kernel debugger as a userland program. To generate a diff of this

CVS commit: src/sys/ddb

2009-09-27 Thread Hiroyuki Bessho
Module Name:src Committed By: bsh Date: Sun Sep 27 18:24:23 UTC 2009 Modified Files: src/sys/ddb: db_access.c files.ddb Log Message: kgdb still needs db_{get,put}_value in ddb/db_access.c when SOFTWARE_SSTEP is defined in db_machdep.h. To generate a diff of this

CVS commit: src/sys/ddb

2009-07-18 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun Jul 19 02:37:33 UTC 2009 Modified Files: src/sys/ddb: db_command.c db_xxx.c Log Message: Add #ifdef MQUEUE for db_show_mqueue_cmd(). XXX: Wrong. DDB should be dynamic, modular, etc. To generate a diff of this commit: cvs

CVS commit: src/sys/ddb

2009-06-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jun 5 04:31:47 UTC 2009 Modified Files: src/sys/ddb: db_command.c Log Message: 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

CVS commit: src/sys/ddb

2009-04-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Apr 10 22:29:30 UTC 2009 Modified Files: src/sys/ddb: ddb.h Log Message: add boilerplate missed in initial commit To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/ddb/ddb.h Please note that diffs are not