freebsd-dev/sys/ddb
bde b741b96ae0 db_ps.c:
Don't attempt to follow null pointers for zombie processes in db_ps().

Style fix: use explicit an comparison with NULL for all null pointer
checks in db_ps() instead of for half of them.

db_interface.c:
Fixed ddb's handling of traps from with ddb on i386's only.

This was mostly fixed in rev.1.27 (by longjmp()'ing back to the top
level) but was completly broken in rev.1.48 (by not unwinding the new
state (mainly db_active) either before or after the longjmp().  This
mostly never worked for other arches, since rev.1.27 has not been ported
and lower level longjmp()'s only handle traps for memory accesses.  All
cases should be handled at a lower level to provided better control and
simplify unwinding of state.

Implementation details: don't pretend to maintain db_active in a nested
way -- ddb cannot be reentered in a nested way.  Use db_active instead
of the db_global_jmpbuf_valid flag and longjmp()'s return value for things
related to reentering ddb.  [re]entering is still not atomic enough.
2002-08-31 04:25:44 +00:00
..
db_access.c
db_access.h Remove __P. 2002-03-20 05:14:42 +00:00
db_break.c Remove __P. 2002-03-20 05:14:42 +00:00
db_break.h Remove __P. 2002-03-20 05:14:42 +00:00
db_command.c Fixed some style bugs in the removal of __P(()). Continuation lines 2002-03-23 11:53:03 +00:00
db_command.h Remove __P. 2002-03-20 05:14:42 +00:00
db_elf.c Remove a couple of __P() stragglers. 2002-06-29 02:32:34 +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 Remove __P. 2002-03-20 05:14:42 +00:00
db_kld.c Reconnect db_elf.c to the build (now under "options DDB_NOKLDSYM"). It 2002-05-07 10:59:52 +00:00
db_lex.c Remove __P. 2002-03-20 05:14:42 +00:00
db_lex.h Remove __P. 2002-03-20 05:14:42 +00:00
db_output.c Remove __P. 2002-03-20 05:14:42 +00:00
db_output.h Remove __P. 2002-03-20 05:14:42 +00:00
db_print.c
db_ps.c db_ps.c: 2002-08-31 04:25:44 +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 Remove __P. 2002-03-20 05:14:42 +00:00
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 A set of changes to reduce the number of include files the kernel 2001-07-08 04:56:07 +00:00
db_variables.c Remove __P. 2002-03-20 05:14:42 +00:00
db_variables.h Remove __P. 2002-03-20 05:14:42 +00:00
db_watch.c Remove __P. 2002-03-20 05:14:42 +00:00
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