Home | History | Annotate | Download | only in ddb
History log of /src/sys/ddb/db_elf.c
RevisionDateAuthorComments
 1.29  06-Nov-2017  christos remove more DB_ELFSIZE
 1.28  04-Nov-2017  christos use Elf_Sym ** instead of casting.
 1.27  14-Mar-2009  dsl branches: 1.27.22;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.26  07-Mar-2009  ad Make ddb compile and work in userspace. Mostly this is comprised of three
types of changes:

- Add a few new methods to replace stuff like p_find(), CPU_INFO_FOREACH.

- Use db_read_bytes() instead of accessing kernel structures directly,
and similar changes.

- Add ifdef _KERNEL where the above hasn't been done, and an XXX comment.
 1.25  28-Apr-2008  martin branches: 1.25.8; 1.25.14;
Remove clause 3 and 4 from TNF licenses
 1.24  22-Feb-2007  thorpej branches: 1.24.38; 1.24.40; 1.24.42;
TRUE -> true, FALSE -> false
 1.23  21-Feb-2007  thorpej Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.22  13-Nov-2002  yamt branches: 1.22.22; 1.22.60;
make stack trace on i386 work again.
(signed vs unsigned)
 1.21  10-Nov-2002  thorpej Fix signed/unsigned comparison warnings.
 1.20  15-Feb-2002  simonb ANSIfy, KNF.
Make some variables and functions static when not used outside of a module.
Make variables in headers extern.
Delete the unused db_find_watchpoint() function.
 1.19  15-Nov-2001  lukem don't need <sys/types.h> when including <sys/param.h>
 1.18  12-Nov-2001  lukem add RCSIDs
 1.17  08-Nov-2001  christos PR/14498: Wesley Chen: Identify loaded modules vs. kernel, because we don't
load the elf header with them.
 1.16  31-Jul-2001  bjh21 branches: 1.16.4;
Extra sanity checking on ELF headers: Make sure the bootloader actually
loaded (or claims to have loaded) everything we need.
 1.15  31-Jul-2001  bjh21 Don't depend on the bootloader's having loaded the .shstrtab section
in order to load the symbol table. Instead of using the sections
called ".symtab" and ".strtab", use the first SYMTAB section (the
ELF spec says there should currently only be one) and the STRTAB
section that's linked to it. I believe this is more robust, and it
certainly makes life easier for the bootloader.
 1.14  17-Jan-2001  jdolecek branches: 1.14.2; 1.14.4;
constify a little
 1.13  07-Jul-2000  jhawk s/preserving ... bytes of symbol table/using ... bytes of symbol table/

"preserving" implies that the data may be copied and might otherwise
be freed, and that other data in the symbol table or sections of
the kernel might be freed, however there is no mechanism for these
things to take place, so "using" is clearer.
 1.12  07-Jul-2000  jhawk Detect ELF sections (string and symbol tables) by looking them
up by name (in .shstrtab) instead of guessing based on section
type (and throwing away the small one). In addition to being cleaner,
multiple symbol tables are no longer and error condition, so
booting netbsd.gdb no longer results in ddb being unable to use
*any* symbols.
 1.11  22-May-2000  jhawk branches: 1.11.4;
Add a "sifting" command to ddb (named from the Sun OpenPROM command of
the same name); it searches the symbol table(s) for all symbols matching
a given substring, and prints.

Extremely useful for when you forget that critical symbol name.

Also, with /F support (cf. "ls -F") to print a char indicating the
symbol type.
 1.10  25-Oct-1999  kleink Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.9  21-Oct-1999  erh Remove ELFNAME macros which are already defines in exec_elf.h
 1.8  08-Jan-1999  augustss branches: 1.8.8; 1.8.10; 1.8.12;
Avoid arithmetic on `void *' since that's not ANSI C.
 1.7  04-Dec-1998  thorpej - Make the ddb_init() interface consistent for a.out and ELF.
- Allow DDB to run-time switch for a.out or ELF symbol table support.
 1.6  13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.5  09-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.4  03-May-1998  thorpej branches: 1.4.2;
Whitespace.
 1.3  30-Nov-1997  drochner Clean up usage of printf() vs db_printf(): The diagnostic messages
when symbol tables are loaded don't belong to the user interaction,
their output lines should not be counted by ddb's builtin pager.
 1.2  05-Sep-1997  thorpej Make sure debugging symbol sections are aligned.
 1.1  01-Jul-1997  thorpej branches: 1.1.2;
Add support for Elf symbol tables to DDB, written from scratch by me.
Known to work in DDB under NetBSD/alpha.
 1.1.2.1  06-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.4.2.1  12-Aug-1998  eeh Give DDB access to all the nice symbols in locore.s
 1.8.12.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.10.1  15-Nov-1999  fvdl Sync with -current
 1.8.8.2  11-Feb-2001  bouyer Sync with HEAD.
 1.8.8.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.11.4.1  12-Jul-2000  jhawk Pullup rev 1.12, approved by thorpej:
Detect ELF sections (string and symbol tables) by looking them
up by name (in .shstrtab) instead of guessing based on section
type (and throwing away the small one). In addition to being cleaner,
multiple symbol tables are no longer and error condition, so
booting netbsd.gdb no longer results in ddb being unable to use
*any* symbols.
 1.14.4.3  16-Mar-2002  jdolecek Catch up with -current.
 1.14.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.4.1  03-Aug-2001  lukem update to -current
 1.14.2.6  15-Nov-2002  nathanw Catch up to -current (stack trace sign fix).
 1.14.2.5  11-Nov-2002  nathanw Catch up to -current
 1.14.2.4  28-Feb-2002  nathanw Catch up to -current.
 1.14.2.3  08-Jan-2002  nathanw Catch up to -current.
 1.14.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.14.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.16.4.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.22.60.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.22.22.1  26-Feb-2007  yamt sync with head.
 1.24.42.2  04-May-2009  yamt sync with head.
 1.24.42.1  16-May-2008  yamt sync with head.
 1.24.40.1  18-May-2008  yamt sync with head.
 1.24.38.1  02-Jun-2008  mjf Sync with HEAD.
 1.25.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.27.22.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed