aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Silence variable format-string warningsKris Kennaway2001-07-291-1/+1
| | | | Notes: svn path=/stable/4/; revision=80555
* MFC new hwatch/dhwatch ddb commands for setting/deleting hardwareBrian S. Dean2001-07-251-0/+2
| | | | | | | watchpoints within ddb. Notes: svn path=/stable/4/; revision=80309
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Merge the cons.c and cons.h to the best of my ability. alpha may orPoul-Henning Kamp1999-08-091-3/+2
| | | | | | | may not compile, I can't test it. Notes: svn path=/head/; revision=49558
* Quiet warnings on Alpha. (db_expr_t is a long on alpha, int on x86)Peter Wemm1999-07-011-2/+2
| | | | Notes: svn path=/head/; revision=48407
* add some amount of sanity to the way the gdb stuff finds its device.Poul-Henning Kamp1999-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. Notes: svn path=/head/; revision=46783
* Get rid of extern declarations on gdb stuff so systems compiled withoutKirk McKusick1999-05-071-1/+9
| | | | | | | | DDB will compile. Warn users that try to use GDB without specifying a GDB port in their configuration file. Notes: svn path=/head/; revision=46658
* Replace includes of <sys/kernel.h> with includes ofJohn Polstra1999-01-141-2/+2
| | | | | | | | <sys/linker_set.h> in those files that use only the linker set definitions. Notes: svn path=/head/; revision=42654
* Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.Bruce Evans1998-07-081-2/+2
| | | | Notes: svn path=/head/; revision=37506
* Redo the previous commit in a more Bruce-friendly fashion.Poul-Henning Kamp1998-05-191-2/+1
| | | | | | | Urged by: bde Notes: svn path=/head/; revision=36197
* Add "show msgbuf" commandPoul-Henning Kamp1998-05-191-1/+2
| | | | Notes: svn path=/head/; revision=36181
* Ensure that the linker sets for commands exist by putting a standardBruce Evans1998-02-131-15/+7
| | | | | | | | command in each of them. This removes the need for hard-to-configure dummy instantiations of the sets. Notes: svn path=/head/; revision=33296
* Staticize.Eivind Eklund1998-02-091-2/+2
| | | | Notes: svn path=/head/; revision=33181
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Fixed bogus linkage of one of the ddb linker sets.Bruce Evans1996-12-181-2/+6
| | | | Notes: svn path=/head/; revision=20649
* Support statically attaching of ddb commands in non-ddb modules.Bruce Evans1996-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(). Notes: svn path=/head/; revision=18296
* Allow the user to switch into gdb mode from ddbPaul Traina1996-08-271-1/+21
| | | | Notes: svn path=/head/; revision=17848
* Reduced and cleaned up #includes.Bruce Evans1995-12-101-4/+3
| | | | Notes: svn path=/head/; revision=12734
* Untangled the vm.h include file spaghetti.David Greenman1995-12-071-1/+4
| | | | Notes: svn path=/head/; revision=12662
* Staticized and '#ifdef notused' stuff we don't use.Poul-Henning Kamp1995-11-291-14/+16
| | | | Notes: svn path=/head/; revision=12515
* Completed function declarations and/or added prototypes and/or #includesBruce Evans1995-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. Notes: svn path=/head/; revision=12473
* Change db_fncall() and db_panic() to have the correct number and type ofBruce Evans1995-08-271-5/+13
| | | | | | | args for a ddb command. Notes: svn path=/head/; revision=10348
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-8/+8
| | | | Notes: svn path=/head/; revision=8876
* Removed redundant newlines that were in some panic strings.David Greenman1995-03-191-2/+2
| | | | Notes: svn path=/head/; revision=7170
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'Bruce Evans1995-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. Notes: svn path=/head/; revision=7090
* Make ``p'' an explicit alias for ``print'' instead of being anJoerg Wunsch1995-03-051-1/+2
| | | | | | | implicit alias for ``panic'', since this seems to be more rational. Notes: svn path=/head/; revision=6920
* Added "panic" command to ddb, so we can do something sensible even ifPoul-Henning Kamp1995-02-051-1/+9
| | | | | | | we have no symbols. Notes: svn path=/head/; revision=6204
* 1) Changed ddb into a option rather than a pseudo-device (use options DDBDavid Greenman1994-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. Notes: svn path=/head/; revision=2320
* Fix up some sloppy coding practices:Garrett 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. Notes: svn path=/head/; revision=2112
* Change all #includes to follow the current Berkeley style. Some of theseGarrett Wollman1994-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 Notes: svn path=/head/; revision=2056
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes1994-05-251-2/+4
| | | | | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=1549
* ps works inside ddb now.Guido van Rooij1994-02-111-2/+5
| | | | Notes: svn path=/head/; revision=1147
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andGarrett Wollman1993-11-251-3/+4
| | | | | | | add same (sans -Werror) to Makefile for future compilations. Notes: svn path=/head/; revision=798
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, someRodney W. Grimes1993-10-161-50/+3
| | | | | | | minor cleanup. Added $Id$ to files that did not have any version info, etc Notes: svn path=/head/; revision=623
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-121-0/+526
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4