summaryrefslogtreecommitdiff
path: root/sys/ddb
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.1.6_cvscvs2svn1997-02-0526-26/+26
| | | | | | | 'RELENG_2_1_6_RELEASE'. This commit was manufactured to restore the state of the 2.1.6-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* Brought in changes from main branch: fix command funcs to have correct #David Greenman1995-09-122-7/+20
| | | | | | | of args. Notes: svn path=/stable/2.1/; revision=10680
* Brought in changes from rev 1.7: improvements to DDB's "ps" command.David Greenman1995-08-231-19/+39
| | | | Notes: svn path=/stable/2.1/; revision=10165
* Remove trailing whitespace.Rodney W. Grimes1995-05-3026-207/+207
| | | | Notes: svn path=/head/; revision=8876
* Print the address associated with an examine. Changed db_maxoff toDavid Greenman1995-05-222-13/+6
| | | | | | | | something more reasonable (64k). Suggested by Gordon Ross about a year ago. Notes: svn path=/head/; revision=8698
* Fixed the formatting breakage I added in the previous commit.David Greenman1995-04-041-4/+8
| | | | Notes: svn path=/head/; revision=7610
* Fixed DDB's "ps" output formatting.David Greenman1995-03-281-12/+6
| | | | Notes: svn path=/head/; revision=7454
* 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-163-7/+14
| | | | | | | | | (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
* Load the kernel symbol table in the boot loader and not at compile time.Bruce Evans1995-01-251-23/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Boot with the -D flag if you want symbols.) Make it easier to extend `struct bootinfo' without losing either forwards or backwards compatibility. ddb_aout.c: Get the symbol table from wherever the loader put it. Nuke db_symtab[SYMTAB_SPACE]. boot.c: Enable loading of symbols. Align them on a page boundary. Add printfs about the symbol table sizes. Pass the memory sizes to the kernel. Fix initialization of `unit' (it got moved out of the loop). Fix adding the bss size (it got moved inside an ifdef). Initialize serial port when RB_SERIAL is toggled on. Fix comments. Clean up formatting of recently added code. io.c: Clean up formatting of recently added code. netboot/main.c, machdep.c, wd.c: Change names of bootinfo fields. LINT: Nuke SYMTAB_SPACE. Fix comment about DODUMP. Makefile.i386: Nuke use of dbsym. Exclude gcc symbols from kernel unless compiling with -g. Remove unused macro. Fix comments and formatting. genassym.c: Generate defines for some new bootinfo fields. Change names of old ones. locore.s: Copy only the valid part of the `struct bootinfo' passed by the loader. Reserve space for symbol table, if any. machdep.c: Check the memory sizes passed by the loader, if any. Don't use them yet. bootinfo.h: Add a size field so that we can resolve some mismatches between the loader bootinfo and the kernel boot info. The version number is not so good for this because of historical botches and because it's harder to maintain. Add memory size and symbol table fields. Change the names of everything. Hacks to save a few bytes: asm.S, boot.c, boot2.S: Replace `ouraddr' by `(BOOTSEG << 4)'. boot.c: Don't statically initialize `loadflags' to 0. Disable the "REDUNDANT" code that skips the BIOS variables. Eliminate `total'. Combine some more printfs. boot.h, disk.c, io.c, table.c: Move all statically initialzed data to table.c. io.c: Don't put the A20 gate bits in a variable. Notes: svn path=/head/; revision=5908
* Print "(null)" instead of crashing for null strings. Null names areBruce Evans1994-10-301-1/+3
| | | | | | | | often generated for stack traces. Now inspection of unmapped addresses no longer panics the system. Notes: svn path=/head/; revision=4016
* Avoid ddb getting a panic if the code-segment isn't the usual one...Poul-Henning Kamp1994-10-021-8/+11
| | | | Notes: svn path=/head/; revision=3315
* #include ddb.h not db_output.hPoul-Henning Kamp1994-09-281-2/+2
| | | | Notes: svn path=/head/; revision=3173
* Added include of <machine/cons.h> so that cngetc() gets declared.Poul-Henning Kamp1994-09-271-1/+2
| | | | Notes: svn path=/head/; revision=3149
* Woops, wrong solution to the problem. Backed out previous fix to ddb.h, andDavid Greenman1994-09-272-3/+3
| | | | | | | | | | nuked the db_printf() declaration from db_output.h. Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=3143
* Nuked db_printf() prototype; it now clashes with the one in db_output.h.David Greenman1994-09-271-2/+1
| | | | Notes: svn path=/head/; revision=3142
* Makes gcc silent in sys/ddb.Poul-Henning Kamp1994-09-277-32/+30
| | | | Notes: svn path=/head/; revision=3140
* 386bsd -> kernel in strings.Bruce Evans1994-09-051-3/+3
| | | | Notes: svn path=/head/; revision=2510
* ddb ps function from 1.1.5. Moved into its own file and cleaned up a bitDavid Greenman1994-08-271-0/+79
| | | | | | | by me. Notes: svn path=/head/; revision=2322
* 1) Changed ddb into a option rather than a pseudo-device (use options DDBDavid Greenman1994-08-272-6/+11
| | | | | | | | | | | | | 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
* 1) cleaned up after Garrett - fixed more redundant declarations, changedDavid Greenman1994-08-202-7/+7
| | | | | | | | | | | use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers. 2) fix a bug in the portalfs that was uncovered by better prototyping - specifically, the time must be converted from timeval to timespec before storing in va_atime. 3) fixed/added some miscellaneous prototypes Notes: svn path=/head/; revision=2142
* Fix up some sloppy coding practices:Garrett Wollman1994-08-1814-65/+31
| | | | | | | | | | | | | | | - 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-1317-92/+92
| | | | | | | | | | | | | | | | | | | | | | | | ``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-252-3/+6
| | | | | | | | 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
* "New" VM system from John Dyson & myself. For a run-down of theDavid Greenman1994-01-141-2/+2
| | | | | | | | major changes, see the log of any effected file in the sys/vm directory (swap_pager.c for instance). Notes: svn path=/head/; revision=974
* Patches from John Brezak (necessary for the syscall->trapframe conversionDavid Greenman1994-01-032-8/+122
| | | | | | | | | as well as add additional functionality): Print symbolic args and line no's in stack traces. Notes: svn path=/head/; revision=923
* Make everything compile with -Wtraditional. Make it easier to distributeGarrett Wollman1993-12-194-12/+16
| | | | | | | | | | | | | | a binary link-kit. Make all non-optional options (pagers, procfs) standard, and update LINT to reflect new symtab requirements. NB: -Wtraditional will henceforth be forgotten. This editing pass was primarily intended to detect any constructions where the old code might have been relying on traditional C semantics or syntax. These were all fixed, and the result of fixing some of them means that -Wall is now a realistic possibility within a few weeks. Notes: svn path=/head/; revision=879
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andGarrett Wollman1993-11-2519-63/+202
| | | | | | | add same (sans -Werror) to Makefile for future compilations. Notes: svn path=/head/; revision=798
* Make all headers idempotent. All incorrect common data moved out of headerGarrett Wollman1993-11-075-5/+25
| | | | | | | files and into a related source file. Notes: svn path=/head/; revision=716
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, someRodney W. Grimes1993-10-1624-617/+49
| | | | | | | minor cleanup. Added $Id$ to files that did not have any version info, etc Notes: svn path=/head/; revision=623
* >From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)Rodney W. Grimes1993-09-121-0/+6
| | | | | | | | | | | | I'd like to be able to say: options "SYMTAB_SPACE=78000" # Kernel debugger symbol table size If this seems a reasonable interim solution for freebsd, here's the patch.. Rich Notes: svn path=/head/; revision=449
* Moved db_end_line after db_printf to eliminate forward reference andRodney W. Grimes1993-09-091-10/+23
| | | | | | | shut up the compiler about prototype mismatch. Notes: svn path=/head/; revision=430
* * Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading,David Greenman1993-07-271-0/+4
| | | | | | | | | | | | | | | | profiling, and various protection checks that cause security holes and system crashes. * Changed min/max/bcmp/ffs/strlen to be static inline functions - included from cpufunc.h in via systm.h. This change improves performance in many parts of the kernel - up to 5% in the networking layer alone. Note that this requires systm.h to be included in any file that uses these functions otherwise it won't be able to find them during the load. * Fixed incorrect call to splx() in if_is.c * Fixed bogus variable assignment to splx() in if_ed.c Notes: svn path=/head/; revision=200
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-1224-0/+5106
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4