winedbg: fix lcall instruction opcode

Petr Tesarik hat at tesarici.cz
Fri Mar 10 03:55:07 CST 2006


Hi,

this patch fixes a typo (lcall is 0x9a, not 0x9c) in
be_i386_is_func_call.  This patch does NOT implement the missing
functionality referred to in the FIXME, this merely gets rid of an
annoying warning when a debugged program traces over a PUSHF (with
opcode 0x9c).

ChangeLog:

* Fix lcall opcode, getting rid of an erroneous warning.

-------------- next part --------------
Index: be_i386.c
===================================================================
RCS file: /home/wine/wine/programs/winedbg/be_i386.c,v
retrieving revision 1.4
diff -u -r1.4 be_i386.c
--- be_i386.c	27 Feb 2006 15:35:16 -0000	1.4
+++ be_i386.c	10 Mar 2006 09:50:17 -0000
@@ -331,7 +331,7 @@
         ch &= 0x38;
         if (ch != 0x10 && ch != 0x18) return FALSE;
         /* fall through */
-    case 0x9c:
+    case 0x9a:
     case 0xCD:
         WINE_FIXME("Unsupported yet call insn (0x%02x) at %p\n", ch, insn);
         /* fall through */


More information about the wine-patches mailing list