1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/ddb
Ed Schouten dc15eac046 Use strchr() and strrchr().
It seems strchr() and strrchr() are used more often than index() and
rindex(). Therefore, simply migrate all kernel code to use it.

For the XFS code, remove an empty line to make the code identical to
the code in the Linux kernel.
2012-01-02 12:12:10 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c
db_command.c Add 'findstack' ddb command to search either the thread kernel stack 2011-12-16 11:44:20 +00:00
db_command.h
db_examine.c
db_expr.c
db_input.c Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
db_lex.c
db_lex.h
db_main.c
db_output.c
db_output.h
db_print.c
db_ps.c Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2011-12-18 15:36:21 +00:00
db_run.c
db_script.c
db_sym.c
db_sym.h
db_textdump.c
db_thread.c
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h Add 'findstack' ddb command to search either the thread kernel stack 2011-12-16 11:44:20 +00:00