summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_lex.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a simple scripting facility to DDB(4), allowing the user torwatson2007-12-261-4/+7
| | | | | | | | | | | | | | | | | | | | | | define a set of named scripts. Each script consists of a list of DDB commands separated by ";"s that will be executed verbatim. No higher level language constructs, such as branching, are provided for: scripts are executed by sequentially injecting commands into the DDB input buffer. Four new commands are present in DDB: "run" to run a specific script, "script" to define or print a script, "scripts" to list currently defined scripts, and "unscript" to delete a script, modeled on shell alias commands. Scripts may also be manipulated using sysctls in the debug.ddb.scripting MIB space, although users will prefer to use the soon-to-be-added ddb(8) tool for usability reasons. Scripts with certain names are automatically executed on various DDB events, such as entering the debugger via a panic, a witness error, watchdog, breakpoint, sysctl, serial break, etc, allowing customized handling. MFC after: 3 months
* Start each of the license/copyright comments with /*-imp2005-01-061-1/+1
|
* Remove __P.alfred2002-03-201-4/+4
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed bogus type of valuep in struct db_variable. It was `int *' andbde1998-07-081-2/+2
| | | | | became `long *' for alpha, but should always have been `db_expr_t *'. Fixed variable types to match.
* Make db_tok_number a long to allow typing 64bit numbers on alpha.dfr1998-06-271-2/+2
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Staticized and '#ifdef notused' stuff we don't use.phk1995-11-291-4/+1
|
* Completed function declarations and/or added prototypes.bde1995-11-241-13/+10
| | | | | | Removed `extern' from prototypes. Sorted prototypes. Uniformized idempotency ifdefs.
* Remove trailing whitespace.rgrimes1995-05-301-9/+9
|
* Fix up some sloppy coding practices:wollman1994-08-181-2/+1
| | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
* Make all headers idempotent. All incorrect common data moved out of headerwollman1993-11-071-1/+5
| | | | files and into a related source file.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-161-18/+2
| | | | minor cleanup. Added $Id$ to files that did not have any version info, etc
* Initial import, 0.1 + pk 0.2.4-B1rgrimes1993-06-121-0/+89
OpenPOWER on IntegriCloud