freebsd-nq/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 Follow up to r225203 refining break-to-debugger run-time configuration 2011-08-27 14:24:27 +00:00
db_break.h
db_capture.c sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
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 MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_examine.c
db_expr.c Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
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 There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00
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 Move two copies of the same definition to a common include file. 2010-04-14 23:06:07 +00:00
db_sym.h
db_textdump.c
db_thread.c Show the thread kernel stack base address for 'show threads'. 2011-12-16 11:42:50 +00:00
db_variables.c Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
db_variables.h Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
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