kernel - Enhance the examine (x) command.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 23 Apr 2016 16:39:02 +0000 (09:39 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 23 Apr 2016 16:39:02 +0000 (09:39 -0700)
commit0624d20e86affcd708609cbf9014207537537a72
tree721b08d405e5ee29d2157b51e22af4d65efc08b1
parentdf0cd41ca2b32c997e05f2ce18551386dda44055
kernel - Enhance the examine (x) command.

* Change x/a to work similar to gdb.  The content of the memory is
  treated as an address, printed symbolically and the address is advanced.
  This way you can x/a <stack_address> and then just hit return a bunch
  of times to locate useful data on the stack.

* Add x/p.  The content of the memory is treated as an address and
  printed as hex.
sys/ddb/db_examine.c