Juan Lang : winedbg: Get rid of unused mode command.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 5 14:24:46 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: b885b761469a528f69c3c68079dc93fdb51451c2
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=b885b761469a528f69c3c68079dc93fdb51451c2

Author: Juan Lang <juan_lang at yahoo.com>
Date:   Mon Jun  5 09:58:00 2006 -0700

winedbg: Get rid of unused mode command.

---

 programs/winedbg/dbg.y   |    4 ++--
 programs/winedbg/debug.l |    2 --
 programs/winedbg/info.c  |    4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/programs/winedbg/dbg.y b/programs/winedbg/dbg.y
index 166d638..4601f0a 100644
--- a/programs/winedbg/dbg.y
+++ b/programs/winedbg/dbg.y
@@ -50,8 +50,8 @@ int yyerror(const char*);
 }
 
 %token tCONT tPASS tSTEP tLIST tNEXT tQUIT tHELP tBACKTRACE tALL tINFO tUP tDOWN
-%token tENABLE tDISABLE tBREAK tHBREAK tWATCH tDELETE tSET tMODE tPRINT tEXAM
-%token tABORT tVM86 tECHO
+%token tENABLE tDISABLE tBREAK tHBREAK tWATCH tDELETE tSET tPRINT tEXAM
+%token tABORT tECHO
 %token tCLASS tMAPS tSTACK tSEGMENTS tSYMBOL tREGS tALLREGS tWND tQUEUE tLOCAL tEXCEPTION
 %token tPROCESS tTHREAD tMODREF tEOL tEOF
 %token tFRAME tSHARE tCOND tDISPLAY tUNDISPLAY tDISASSEMBLE
diff --git a/programs/winedbg/debug.l b/programs/winedbg/debug.l
index 6bdabe0..458c006 100644
--- a/programs/winedbg/debug.l
+++ b/programs/winedbg/debug.l
@@ -166,7 +166,6 @@ STRING     \"[^\n"]+\"
 <INITIAL>abort|abor|abo         	{ return tABORT; }
 <INITIAL>print|prin|pri|pr|p		{ BEGIN(FORMAT_EXPECTED); return tPRINT; }
 
-<INITIAL>mode				{ BEGIN(MODE_CMD); return tMODE; }
 <INITIAL>show|sho|sh			{ BEGIN(SHOW_CMD); return tSHOW; }
 <INITIAL,NOPROCESS>source|sourc|sour|src { BEGIN(PATH_EXPECTED); return tSOURCE; }
 <INITIAL>symbolfile|symbols|symbol|sf   { BEGIN(PATH_EXPECTED); return tSYMBOLFILE; }
@@ -196,7 +195,6 @@ STRING     \"[^\n"]+\"
 <INFO_CMD>maps|map			{ return tMAPS; }
 <INFO_CMD>window|windo|wind|win|wnd	{ return tWND; }
 <HELP_CMD>info|inf|in                   { return tINFO; }
-<MODE_CMD>vm86                          { return tVM86; }
 <MAINT_CMD>type                         { return tTYPE; }
 
 <INITIAL,SHOW_CMD>directories|directorie|directori|director|directo|direct|direc|direc|dir {
diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c
index b64a3df..6fc5b3f 100644
--- a/programs/winedbg/info.c
+++ b/programs/winedbg/info.c
@@ -63,8 +63,8 @@ void print_help(void)
             "  list <lines>                           disassemble [<addr>][,<addr>]",
             "  show dir                               dir <path>",
             "  set <reg> = <expr>                     set *<addr> = <expr>",
-            "  mode [16,32,vm86]                      pass",
-            "  whatis                                 info (see 'help info' for options)",
+            "  pass                                   whatis",
+            "  info (see 'help info' for options)",
 
             "The 'x' command accepts repeat counts and formats (including 'i') in the",
             "same way that gdb does.\n",




More information about the wine-cvs mailing list