summaryrefslogtreecommitdiffstats
path: root/sys/ddb/ddb.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a new mechanism, cndbctl(), to tell the console driver thatyokota2000-01-111-1/+2
| | | | | | | | | | | | | | | | | | | | | ddb is entered. Don't refer to `in_Debugger' to see if we are in the debugger. (The variable used to be static in Debugger() and wasn't updated if ddb is entered via traps and panic anyway.) - Don't refer to `in_Debugger'. - Add `db_active' to i386/i386/db_interface.d (as in alpha/alpha/db_interface.c). - Remove cnpollc() stub from ddb/db_input.c. - Add the dbctl function to syscons, pcvt, and sio. (The function for pcvt and sio is noop at the moment.) Jointly developed by: bde and me (The final version was tweaked by me and not reviewed by bde. Thus, if there is any error in this commit, that is entirely of mine, not his.) Some changes were obtained from: NetBSD
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* add some amount of sanity to the way the gdb stuff finds its device.phk1999-05-091-1/+11
| | | | | | | | 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.
* Changes to support -Wall, -Wcast-qual. Had to make physical code changesdillon1999-01-271-2/+2
| | | | | in db_lookup() to avoid the *cp = 0 / *cp = ':' combo ( temporary nul-terminate-then-restore-original ) on a const char * string.
* Added macros __printflike() and __scanflike() to <sys/cdefs.h>.bde1998-07-131-4/+3
| | | | | | | | Use them to `make gcc -Wformat' check formats for all printf-like and scanf-like functions in /usr/src except for the err()/warn() family. err() isn't quite printf-like since its format arg can legitimately be NULL. syslog() isn't quite printf-like, but gcc already accepts %m, even for plain printf() when it shouldn't.
* Fixed bogus type of valuep in struct db_variable. It was `int *' andbde1998-07-081-5/+5
| | | | | became `long *' for alpha, but should always have been `db_expr_t *'. Fixed variable types to match.
* This commit fixes various 64bit portability problems required fordfr1998-06-071-7/+7
| | | | | | | | | | 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.
* 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-2/+1
| | | | | command in each of them. This removes the need for hard-to-configure dummy instantiations of the sets.
* 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.
* Support statically attaching of ddb commands in non-ddb modules.bde1996-09-141-9/+41
| | | | | | | | | | | | | | | | 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().
* Clean up various compiler warnings. Most (if not all) were benigngpalmer1996-05-081-2/+1
| | | | Reviewed by: bde
* Staticize and cleanup.phk1995-12-101-2/+1
|
* Untangled the vm.h include file spaghetti.dg1995-12-071-2/+1
|
* Staticized and '#ifdef notused' stuff we don't use.phk1995-11-291-4/+1
|
* Completed function declarations and/or added prototypes.bde1995-11-241-57/+68
| | | | | | Removed `extern' from prototypes. Sorted prototypes. Uniformized idempotency ifdefs.
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-1/+4
| | | | | | (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.
* Woops, wrong solution to the problem. Backed out previous fix to ddb.h, anddg1994-09-271-1/+2
| | | | | | | nuked the db_printf() declaration from db_output.h. Reviewed by: Submitted by: Obtained from:
* Nuked db_printf() prototype; it now clashes with the one in db_output.h.dg1994-09-271-2/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-1/+2
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andwollman1993-11-251-0/+109
add same (sans -Werror) to Makefile for future compilations.
OpenPOWER on IntegriCloud