freebsd-src/sys/ddb
Bruce Evans abd368f09a Made this work on i386's at least. It wants ELF section headers for
symbol table sections.  Reconstruct the necessary section headers from
(ksym_start, ksym_end).  This was much easier than converting to use
module metadata, and just works for static symbols, unlike db_kld when
there is no module metadata.  Initialize (ksym_start, ksym_end) from
bootinfo on i386's only.

The boot loader should load section headers for all sections that it
loads, and apparently did this for at least the symbol table sections
when this file last worked under FreeBSD (on alphas only) and always
did this under NetBSD (where this file was obtained from).  At least
on i386's, boot2 discards the section headers (except for converting
them to (bootinfo.bi_symtab, bootinfo.bi_esymtab), and as far as I can
tell, loader(8) discards them apart from converting them to the bootinfo
values and module metadata.
2002-09-15 21:49:13 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_command.c
db_command.h
db_elf.c Made this work on i386's at least. It wants ELF section headers for 2002-09-15 21:49:13 +00:00
db_examine.c Don't assume that pointers are 4 bytes or sizeof(int) in size. This fixes 2002-06-25 15:59:24 +00:00
db_expr.c Don't assume that pointers are 4 bytes or sizeof(int) in size. This fixes 2002-06-25 15:59:24 +00:00
db_input.c
db_kld.c
db_lex.c
db_lex.h
db_output.c
db_output.h
db_print.c
db_ps.c Completely redo thread states. 2002-09-11 08:13:56 +00:00
db_run.c Split the declaration and the initialization of two variables. 2002-06-23 20:03:03 +00:00
db_sym.c
db_sym.h When talking about c_db_sym_t, mention that it is not just like db_sym_t: 2002-08-14 17:56:47 +00:00
db_sysctl.c
db_trap.c
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h Allow DB_SET() to set all fields in the ddb command structure. This 2002-06-05 19:00:02 +00:00