freebsd-skq/sys/ddb
bde 8e5d0b5212 In ddb ps, left justify the non-numeric fields 'state' and 'wmesg' and
the fixed-width numeric field 'wchan', as in ps(1).  They were sort
of centered, although the template shows 'state' as right-justified.
The `wmesg' field very rarely has a prefix of '*' (for lock names)
that is still to the left of the header, and the width of this field
is reduced from 8 to 7 (more than 6 is an error).

The 'wmesg' and 'wchan' fields are still misnamed and poorly handled.
They are named sort of backwards relative to ps(1):
- wmesg in ddb = mwchan in ps
- wmesg in ddb = wchan in ps (if it is a wait channel name, not a lock name)
- wchan in ddb = nwchan in ps
ddb ps wastes lots of space for the unimportant 'wchan' field (20
columns altogether on 64-bit arches).  ps(1) documents using a
compressed format, but the compression only omits leading nybbles of
0 so it has neveqr worked on arches that put the kernel in the top half
of the address space.  It just avoids wasting space for an 0x prefix.
2016-08-14 15:26:40 +00:00
..
db_access.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_access.h ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_break.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_break.h
db_capture.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_command.c ddb: for pointers replace 0 with NULL. 2016-04-15 17:27:20 +00:00
db_command.h
db_examine.c Add a small set of logical operators to DDB command language. 2016-05-16 19:42:38 +00:00
db_expr.c Add a small set of logical operators to DDB command language. 2016-05-16 19:42:38 +00:00
db_input.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_lex.c Add a small set of logical operators to DDB command language. 2016-05-16 19:42:38 +00:00
db_lex.h Add a small set of logical operators to DDB command language. 2016-05-16 19:42:38 +00:00
db_main.c Don't return undefined symbols to a DDB symbol lookup. 2015-07-21 23:07:55 +00:00
db_output.c sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
db_output.h ddb: space/tab fixes. 2014-10-11 20:25:19 +00:00
db_print.c Various changes to the registers displayed in DDB for x86. 2015-07-22 01:09:02 +00:00
db_ps.c In ddb ps, left justify the non-numeric fields 'state' and 'wmesg' and 2016-08-14 15:26:40 +00:00
db_run.c Don't print an extra newline after the instruction when printing for 2016-08-14 13:23:02 +00:00
db_script.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_sym.c ddb: for pointers replace 0 with NULL. 2016-04-15 17:27:20 +00:00
db_sym.h ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_textdump.c sys/ddb: spelling fixes in comments. 2016-04-29 20:53:39 +00:00
db_thread.c ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00
db_variables.c Indentation issues. 2016-04-20 16:19:44 +00:00
db_variables.h ddb: space/tab fixes. 2014-10-11 20:25:19 +00:00
db_watch.c ddb: de-register 2015-05-23 14:59:27 +00:00
db_watch.h ddb: space/tab fixes. 2014-10-11 20:25:19 +00:00
db_write_cmd.c ddb: de-register 2015-05-23 14:59:27 +00:00
ddb.h ddb: finish converting boolean values. 2015-05-21 15:16:18 +00:00