freebsd-dev/sys/ddb
bde 1d63115547 Load the kernel symbol table in the boot loader and not at compile time.
(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.
1995-01-25 21:40:47 +00:00
..
db_access.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_access.h Make all headers idempotent. All incorrect common data moved out of header 1993-11-07 17:39:25 +00:00
db_aout.c Load the kernel symbol table in the boot loader and not at compile time. 1995-01-25 21:40:47 +00:00
db_break.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_break.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 16:47:35 +00:00
db_command.c 1) Changed ddb into a option rather than a pseudo-device (use options DDB 1994-08-27 16:14:39 +00:00
db_command.h Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_examine.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_expr.c Change all #includes to follow the current Berkeley style. Some of these 1994-08-13 03:50:34 +00:00
db_input.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_lex.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_lex.h Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_output.c Print "(null)" instead of crashing for null strings. Null names are 1994-10-30 20:55:44 +00:00
db_output.h Woops, wrong solution to the problem. Backed out previous fix to ddb.h, and 1994-09-27 12:15:56 +00:00
db_print.c Makes gcc silent in sys/ddb. 1994-09-27 03:34:58 +00:00
db_ps.c #include ddb.h not db_output.h 1994-09-28 19:16:24 +00:00
db_run.c Change all #includes to follow the current Berkeley style. Some of these 1994-08-13 03:50:34 +00:00
db_sym.c Makes gcc silent in sys/ddb. 1994-09-27 03:34:58 +00:00
db_sym.h Makes gcc silent in sys/ddb. 1994-09-27 03:34:58 +00:00
db_trap.c Avoid ddb getting a panic if the code-segment isn't the usual one... 1994-10-02 19:36:30 +00:00
db_variables.c Makes gcc silent in sys/ddb. 1994-09-27 03:34:58 +00:00
db_variables.h Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
db_watch.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_watch.h Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
db_write_cmd.c Change all #includes to follow the current Berkeley style. Some of these 1994-08-13 03:50:34 +00:00
ddb.h Woops, wrong solution to the problem. Backed out previous fix to ddb.h, and 1994-09-27 12:15:56 +00:00