Add new "walk" command options to list processes and modref's.
diff --git a/debugger/dbg.y b/debugger/dbg.y
index 99822e6..cdbab33 100644
--- a/debugger/dbg.y
+++ b/debugger/dbg.y
@@ -74,6 +74,7 @@
%token tCONT tSTEP tLIST tNEXT tQUIT tHELP tBACKTRACE tINFO tWALK tUP tDOWN
%token tENABLE tDISABLE tBREAK tDELETE tSET tMODE tPRINT tEXAM tABORT tDEBUGMSG
%token tCLASS tMAPS tMODULE tSTACK tSEGMENTS tREGS tWND tQUEUE tLOCAL
+%token tPROCESS tMODREF
%token tEOL tSTRING tDEBUGSTR
%token tFRAME tSHARE tCOND tDISPLAY tUNDISPLAY tDISASSEMBLE
%token tSTEPI tNEXTI tFINISH tSHOW tDIR
@@ -313,6 +314,8 @@
| tWALK tQUEUE tEOL { QUEUE_WalkQueues(); }
| tWALK tWND tEOL { WIN_WalkWindows( 0, 0 ); }
| tWALK tWND tNUM tEOL { WIN_WalkWindows( $3, 0 ); }
+ | tWALK tPROCESS tEOL { PROCESS_WalkProcess(); }
+ | tWALK tMODREF expr_value tEOL { MODULE_WalkModref( $3 ); }
type_cast:
diff --git a/debugger/debug.l b/debugger/debug.l
index a77b17d..669f652 100644
--- a/debugger/debug.l
+++ b/debugger/debug.l
@@ -156,6 +156,8 @@
<INFO_CMD,WALK_CMD>class|clas|cla { return tCLASS; }
<INFO_CMD,WALK_CMD>module|modul|modu|mod { return tMODULE; }
<INFO_CMD,WALK_CMD>queue|queu|que { return tQUEUE; }
+<INFO_CMD,WALK_CMD>process|proces|proce|proc { return tPROCESS; }
+<INFO_CMD,WALK_CMD>modref|modre|modr { return tMODREF; }
<INFO_CMD>registers|regs|reg|re { return tREGS; }
<INFO_CMD>segments|segment|segm|seg|se { return tSEGMENTS; }
<INFO_CMD>stack|stac|sta|st { return tSTACK; }
diff --git a/debugger/info.c b/debugger/info.c
index a4ea51e..b71c0c2 100644
--- a/debugger/info.c
+++ b/debugger/info.c
@@ -142,7 +142,8 @@
" delete display <disnum> debugmsg <class>[-+]<type>\n",
"Wine-specific commands:",
-" mode [16,32] walk [wnd,class,queue,module]",
+" mode [16,32] walk [wnd,class,queue,module,",
+" process,modref <pid>]",
" info (see 'help info' for options)\n",
"The 'x' command accepts repeat counts and formats (including 'i') in the",