git: kernel - Enhance the examine (x) command.

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 23 09:40:34 PDT 2016


commit 0624d20e86affcd708609cbf9014207537537a72
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 23 09:39:02 2016 -0700

    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.

Summary of changes:
 sys/ddb/db_examine.c | 58 +++++++++++++++++++++++++++++-----------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0624d20e86affcd708609cbf9014207537537a72


-- 
DragonFly BSD source repository



More information about the Commits mailing list