1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/ddb
Conrad Meyer e2e050c8ef Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"
in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header
pollution substantially.

EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c
files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).

As a side effect of reduced header pollution, many .c files and headers no
longer contain needed definitions.  The remainder of the patch addresses
adding appropriate includes to fix those files.

LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by
sys/mutex.h since r326106 (but silently protected by header pollution prior
to this change).

No functional change (intended).  Of course, any out of tree modules that
relied on header pollution for sys/eventhandler.h, sys/lock.h, or
sys/mutex.h inclusion need to be fixed.  __FreeBSD_version has been bumped.
2019-05-20 00:38:23 +00:00
..
db_access.c No need to force md code to define a macro that's the same as 2018-04-16 13:52:23 +00:00
db_access.h
db_break.c
db_break.h
db_capture.c
db_command.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
db_command.h
db_examine.c
db_expr.c
db_input.c
db_lex.c
db_lex.h
db_main.c Fix PPC symbol resolution 2018-05-10 03:59:48 +00:00
db_output.c
db_output.h
db_print.c
db_ps.c db show thread: avoid overflow in tick conversion 2019-05-16 05:29:54 +00:00
db_run.c
db_script.c db_script_exec: use a saved script name when reporting commands executed 2018-03-04 13:27:21 +00:00
db_sym.c
db_sym.h
db_textdump.c
db_thread.c ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h Fix PPC symbol resolution 2018-05-10 03:59:48 +00:00