Home | History | Annotate | Download | only in ddb
History log of /src/sys/ddb/db_trap.c
RevisionDateAuthorComments
 1.26  12-Mar-2019  skrll KNF
 1.25  09-Feb-2011  matt branches: 1.25.56;
Since curlwp and curproc must always be non-NULL, remove the == NULL branches.
 1.24  21-Feb-2007  thorpej branches: 1.24.66; 1.24.72; 1.24.74;
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.
 1.23  11-Dec-2005  christos branches: 1.23.26;
merge ktrace-lwp.
 1.22  26-Feb-2005  perry branches: 1.22.4;
nuke trailing whitespace
 1.21  28-Apr-2003  briggs branches: 1.21.2; 1.21.10; 1.21.12;
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.
 1.20  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.19  15-Feb-2002  simonb 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.
 1.18  12-Nov-2001  lukem add RCSIDs
 1.17  20-Dec-2000  jhawk branches: 1.17.2; 1.17.4;
When we hit a breakpoint in a process, print the pid of the process as
well as the command name (p_comm) of the process.
 1.16  18-Jul-2000  jeffs Provide some info on what db_trap_callback() is for in the code.
 1.15  17-Jul-2000  jeffs Move platform db_trap callback from arch/mips into ddb as suggested by
jhawk. This callback is used by platform code to manage things like
watchdogs that should be disabled while in ddb. Done as a callback
for processors such as mips that support lots of different systems.
 1.14  12-Apr-1999  pk branches: 1.14.2;
Quote "AS IS" as in the majority of Carnegy Mellon notices.
 1.13  06-Apr-1999  pk Fix a pasto in copyright text which has been procreating like rabbits..
 1.12  16-Aug-1998  rvb branches: 1.12.6;
Indent to 4 space for tabs 2 and 3 like the rest of the code
 1.11  15-Aug-1998  ross Have to fix the `(int)curproc' lossage now; kernel builds die here on alpha.

BTW, KNF requires the additional, not-technically-need `!= NULL'.
 1.10  14-Aug-1998  rvb Print program name when entering the debugger
 1.9  05-Feb-1996  christos DDB prototype changes.
 1.8  02-Dec-1994  gwr Leave db_recover as it was on entry to avoid endless "exception in ddb"...
(Don't need to frob it at all here because db_command_loop does it.)
 1.7  09-Oct-1994  mycroft Clean up #includes.
 1.6  09-Oct-1994  mycroft Add prototypes.
 1.5  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.4  04-Apr-1994  mycroft Try to deal with db_print_loc_and_inst() generatings a fault.
 1.3  18-Dec-1993  mycroft Canonicalize all #includes.
 1.2  20-May-1993  cgd branches: 1.2.4;
add explicit rcs id
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.2.4.1  14-Nov-1993  mycroft Canonicalize all #includes.
 1.12.6.2  12-Apr-1999  pk branches: 1.12.6.2.2;
Pullup copyright text corrections.
 1.12.6.1  07-Apr-1999  pk Pull up from trunk: copyright text warts.
 1.12.6.2.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.14.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.14.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.17.4.2  16-Mar-2002  jdolecek Catch up with -current.
 1.17.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.17.2.6  12-Jul-2002  nathanw No longer need to pull in lwp.h; proc.h pulls it in for us.
 1.17.2.5  24-Jun-2002  nathanw Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
 1.17.2.4  28-Feb-2002  nathanw LWPify a little more.
 1.17.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.17.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.17.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.21.12.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.21.10.1  29-Apr-2005  kent sync with -current
 1.21.2.1  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.22.4.1  26-Feb-2007  yamt sync with head.
 1.23.26.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.24.74.1  17-Feb-2011  bouyer Sync with HEAD
 1.24.72.1  06-Jun-2011  jruoho Sync with HEAD.
 1.24.66.1  05-Mar-2011  rmind sync with head
 1.25.56.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed