summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_command.c
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Merge the cons.c and cons.h to the best of my ability. alpha may orphk1999-08-091-3/+2
| | | | may not compile, I can't test it.
* Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86)peter1999-07-011-2/+2
|
* add some amount of sanity to the way the gdb stuff finds its device.phk1999-05-091-3/+7
| | | | | | | | I'm not too happy about the result either, but at least it has less chance of backfiring. This particular feature could be called "a mess" without offending anybody.
* Get rid of extern declarations on gdb stuff so systems compiled withoutmckusick1999-05-071-1/+9
| | | | | DDB will compile. Warn users that try to use GDB without specifying a GDB port in their configuration file.
* Replace includes of <sys/kernel.h> with includes ofjdp1999-01-141-2/+2
| | | | | <sys/linker_set.h> in those files that use only the linker set definitions.
* Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.bde1998-07-081-2/+2
|
* Redo the previous commit in a more Bruce-friendly fashion.phk1998-05-191-2/+1
| | | | Urged by: bde
* Add "show msgbuf" commandphk1998-05-191-1/+2
|
* Ensure that the linker sets for commands exist by putting a standardbde1998-02-131-15/+7
| | | | | command in each of them. This removes the need for hard-to-configure dummy instantiations of the sets.
* Staticize.eivind1998-02-091-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.
* Fixed bogus linkage of one of the ddb linker sets.bde1996-12-181-2/+6
|
* Support statically attaching of ddb commands in non-ddb modules.bde1996-09-141-32/+70
| | | | | | | | | | | | | | | | The details are hidden in the DB_COMMAND(cmd_name, func_name) and DB_SHOW_COMMAND(cmd_name, func_name) macros. DB_COMMAND() adds to the top-level ddb command table and DB_SHOW_COMMAND adds to the `show' subtable. Most external commands will probably be `show' commands with no side effects. They should check their pointer args more carefully than `show map' :-), or ddb should trap internal faults better (like it does for memory accesses). The vm ddb commands are temporarily unattached. ddb.h: Also declare `db_indent' and db_iprintf() which will replace vm's `indent' and iprintf().
* Allow the user to switch into gdb mode from ddbpst1996-08-271-1/+21
|
* Reduced and cleaned up #includes.bde1995-12-101-4/+3
|
* Untangled the vm.h include file spaghetti.dg1995-12-071-1/+4
|
* Staticized and '#ifdef notused' stuff we don't use.phk1995-11-291-14/+16
|
* Completed function declarations and/or added prototypes and/or #includesbde1995-11-241-18/+16
| | | | | | | | | | 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.
* Change db_fncall() and db_panic() to have the correct number and type ofbde1995-08-271-5/+13
| | | | args for a ddb command.
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-5/+8
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Make ``p'' an explicit alias for ``print'' instead of being anjoerg1995-03-051-1/+2
| | | | implicit alias for ``panic'', since this seems to be more rational.
* Added "panic" command to ddb, so we can do something sensible even ifphk1995-02-051-1/+9
| | | | we have no symbols.
* 1) Changed ddb into a option rather than a pseudo-device (use options DDBdg1994-08-271-5/+3
| | | | | | | | | | in your kernel config now). 2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its own file. 3) Added \r handing in db_printf. 4) Added missing memory usage stats to statclock(). 5) Added dummy function to pseudo_set so it will be emitted if there are no other pseudo declarations.
* Fix up some sloppy coding practices:wollman1994-08-181-13/+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-5/+5
| | | | | | | | | | | | | | | | | | | | | ``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
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-2/+4
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* ps works inside ddb now.guido1994-02-111-2/+5
|
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andwollman1993-11-251-3/+4
| | | | add same (sans -Werror) to Makefile for future compilations.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-161-50/+3
| | | | 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/+526
OpenPOWER on IntegriCloud