summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_lex.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r272958, r273006:pfg2014-10-181-4/+4
| | | | | | ddb: space/tab fixes and ANSI-fy function declarations. No functional change.
* Add a simple scripting facility to DDB(4), allowing the user torwatson2007-12-261-1/+30
| | | | | | | | | | | | | | | | | | | | | | 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
|
* Use __FBSDID().obrien2003-06-101-3/+4
|
* Remove __P.alfred2002-03-201-4/+4
|
* Allow '.' in identifiers - some ia64 register names contain '.'.dfr2002-03-101-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed bogus type of valuep in struct db_variable. It was `int *' andbde1998-07-081-3/+3
| | | | | 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
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Removed unused #includes.bde1997-06-141-2/+1
|
* 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.
* Reduced and cleaned up #includes.bde1995-12-101-2/+2
|
* Staticize and cleanup.phk1995-12-101-3/+3
|
* Untangled the vm.h include file spaghetti.dg1995-12-071-1/+2
|
* Staticized and '#ifdef notused' stuff we don't use.phk1995-11-291-6/+9
|
* Completed function declarations and/or added prototypes and/or #includesbde1995-11-241-2/+2
| | | | | | | | | | to get the prototypes. Changed some `int's to `boolean_t's. boolean_t's are ints so they are hard to distinguish from ints. Converted function headers to old-style. ddb is written in K&R1 C except where we broke it.
* Remove trailing whitespace.rgrimes1995-05-301-9/+9
|
* Fix up some sloppy coding practices:wollman1994-08-181-2/+4
| | | | | | | | | | | | - 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.
* Change all #includes to follow the current Berkeley style. Some of thesewollman1994-08-131-4/+4
| | | | | | | | | | | | | | | | | | | | | ``changes'' are actually not changes at all, but CVS sometimes has trouble telling the difference. This also includes support for second-directory compiles. This is not quite complete yet, as `config' doesn't yet do the right thing. You can still make it work trivially, however, by doing the following: rm /sys/compile mkdir /usr/obj/sys/compile ln -s M-. /sys/compile cd /sys/i386/conf config MYKERNEL cd ../../compile/MYKERNEL ln -s /sys @ rm machine ln -s @/i386/include machine make depend make
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andwollman1993-11-251-2/+6
| | | | add same (sans -Werror) to Makefile for future compilations.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-161-22/+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/+295
OpenPOWER on IntegriCloud