aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_aout.c
Commit message (Collapse)AuthorAgeFilesLines
* GC the a.out support in DDB, nothing anywhere would pull thisPoul-Henning Kamp2001-11-051-402/+0
| | | | | | | file into a build. Notes: svn path=/head/; revision=86110
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Fixed -Wcast-qual warnings.Bruce Evans1999-02-121-4/+4
| | | | Notes: svn path=/head/; revision=43926
* Fixed fatal type mismatches in the aout case. Const poisoning inBruce Evans1999-02-121-5/+5
| | | | | | | db_sym.h had not reached here. Notes: svn path=/head/; revision=43925
* Fix warnings in preparation for adding -Wall -Wcast-qual to theMatthew Dillon1999-01-271-2/+2
| | | | | | | | | | kernel compile. This commit includes significant work to proper handle const arguments for the DDB symbol routines. Notes: svn path=/head/; revision=43309
* Changes to support -Wall, -Wcast-qual. Had to make physical code changesMatthew Dillon1999-01-271-3/+3
| | | | | | | | in db_lookup() to avoid the *cp = 0 / *cp = ':' combo ( temporary nul-terminate-then-restore-original ) on a const char * string. Notes: svn path=/head/; revision=43289
* We don't compile this on an elf kernel (and explicitly not on alpha inPeter Wemm1998-10-091-5/+4
| | | | | | | | | case it's possible to compile in something like ECOFF) The three db_xxx.c symbol interfaces are "standard" because config isn't flexible enough without forcing the user to know about it. Notes: svn path=/head/; revision=40148
* Supply the symbol table as an argument to X_db_symbol_values (required for elf).Doug Rabson1998-06-281-2/+3
| | | | Notes: svn path=/head/; revision=37218
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-071-1/+3
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=36735
* Print the filename, not the directory we compiled in.Poul-Henning Kamp1997-09-281-2/+2
| | | | Notes: svn path=/head/; revision=29915
* Fixed gratuitous ANSIisms.Bruce Evans1997-04-011-2/+2
| | | | Notes: svn path=/head/; revision=24490
* 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
* Reduced and cleaned up #includes.Bruce Evans1995-12-101-3/+1
| | | | Notes: svn path=/head/; revision=12734
* Untangled the vm.h include file spaghetti.David Greenman1995-12-071-1/+2
| | | | Notes: svn path=/head/; revision=12662
* Staticized and '#ifdef notused' stuff we don't use.Poul-Henning Kamp1995-11-291-2/+3
| | | | Notes: svn path=/head/; revision=12515
* Completed function declarations and/or added prototypes and/or #includesBruce Evans1995-11-241-2/+3
| | | | | | | | | | | | | 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
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-10/+10
| | | | Notes: svn path=/head/; revision=8876
* 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
* Makes gcc silent in sys/ddb.Poul-Henning Kamp1994-09-271-8/+9
| | | | Notes: svn path=/head/; revision=3140
* 386bsd -> kernel in strings.Bruce Evans1994-09-051-3/+3
| | | | Notes: svn path=/head/; revision=2510
* Change all #includes to follow the current Berkeley style. Some of theseGarrett Wollman1994-08-131-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | ``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
* "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-031-6/+110
| | | | | | | | | as well as add additional functionality): Print symbolic args and line no's in stack traces. Notes: svn path=/head/; revision=923
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andGarrett Wollman1993-11-251-3/+6
| | | | | | | 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-17/+2
| | | | | | | 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
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-121-0/+309
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4