christos
02e608f6b8
Add lots of const.
2005-05-29 21:31:05 +00:00
kristerw
96059deea7
Add a cast to make this build with -D__AUDIT__.
2003-05-17 00:28:44 +00:00
ragge
4ee3d47c73
Teach DDB to use ksyms instead of it's own symbol table management.
...
Note: For a.out kernels (beware!) DDB will still use the old stuff.
2003-04-24 20:00:48 +00:00
simonb
4eaa4d66a8
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.
2002-02-15 07:33:48 +00:00
lukem
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
lukem
1ac69d9cb3
add RCSIDs
2001-11-12 22:54:03 +00:00
jdolecek
9aa0a0185f
constify a little
2001-01-17 19:50:03 +00:00
jhawk
e0b6c173e7
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.
2000-07-07 21:55:18 +00:00
jhawk
41ebaaaf09
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.
2000-05-22 14:49:10 +00:00
augustss
5e3d7e5317
Die, register, die!
2000-03-30 11:31:26 +00:00
thorpej
fed8519457
Don't load the symbol table if it's corrupted.
1999-06-15 00:23:19 +00:00
pk
56aa5f9391
Cast ptrdiff_t to long for printf purposes.
1999-06-05 08:36:29 +00:00
christos
c3564f7b88
Don't go dereferencing pointers before verifying they are aligned.
1999-04-29 11:28:42 +00:00
pk
b13e5d1469
Quote "AS IS" as in the majority of Carnegy Mellon notices.
1999-04-12 20:38:17 +00:00
pk
c40eb1cd97
Fix a pasto in copyright text which has been procreating like rabbits..
1999-04-06 20:09:18 +00:00
thorpej
c89493522f
- 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.
1998-12-04 20:18:05 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
tv
00ede2160e
Change ddb_init() for a.out to provision for kernels which are not booted by
...
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
drochner
9d7d537acb
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.
1997-11-30 15:49:34 +00:00
thorpej
76fbbf772d
A few small changes to make it easier to support non-a.out symbol table
...
formats in DDB:
- Reverse the sense of the symbol format #ifdef... i.e. instead of
"#ifndef DB_NO_AOUT", use "#ifdef DB_AOUT_SYMBOLS". This is pulled
in from <machine/db_machdep.h>.
- Change the signature of X_db_sym_init(). Instead of int * and char *,
it now takes void *'s for the start and end of the symbol table.
- In X_db_sym_init(), check that the pointer to the beginning of
the symbol table is aligned.
- X_db_symbol_values() now takes a "db_symtab_t *symtab" argument.
1997-06-26 01:11:00 +00:00
christos
17f5b2a175
backout previous kprintf changes
1996-10-13 04:10:34 +00:00
christos
5476886e52
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:47:29 +00:00
gwr
5688147b3a
Eliminate dependency on /usr/include/*
1996-02-27 20:54:43 +00:00
christos
8c2e3b4b11
DDB prototype changes.
1996-02-05 01:56:47 +00:00
mycroft
da4e97dcc4
Add prototypes.
1994-10-09 08:19:29 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
gwr
1eb40c985f
Fix test for empty db_symtab on big-endian machines.
1994-06-03 01:58:32 +00:00
mycroft
477bf7cb90
Canonicalize all #includes.
1993-12-18 04:54:21 +00:00
mycroft
f1a5c33098
Canonicalize all #includes.
1993-12-18 04:46:25 +00:00
brezak
aaf4f8dbc5
Changes for boot loading of symbols.
1993-08-29 12:48:10 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
brezak
18e5b218df
Remove read from file. Merge changes from mach DDB.
1993-07-22 13:02:15 +00:00
brezak
bb39e46611
Print symbolic args and line no's in stack traces.
1993-07-10 03:25:02 +00:00
cgd
37cabe305e
add explicit rcs id
1993-05-20 03:39:04 +00:00
cgd
95fbe94b7f
make SYMTAB_SPACE user-definable, as an "option"
1993-05-07 09:13:53 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00