[PATCH 2/6] [WineDbg]: for stack info command, display information in 'a' format (instead of 'x') to get word size machine (instead of forcing 32bit)

Eric Pouech eric.pouech at orange.fr
Mon Apr 19 15:33:26 CDT 2010




A+
---

 programs/winedbg/stack.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/programs/winedbg/stack.c b/programs/winedbg/stack.c
index 99262a4..6cc3baf 100644
--- a/programs/winedbg/stack.c
+++ b/programs/winedbg/stack.c
@@ -50,7 +50,9 @@ void stack_info(void)
     dbg_printf("Stack dump:\n");
     switch (lvalue.addr.Mode)
     {
-    case AddrModeFlat: /* 32-bit mode */
+    case AddrModeFlat: /* 32-bit or 64-bit mode */
+        memory_examine(&lvalue, 24, 'a');
+        break;
     case AddrMode1632: /* 32-bit mode */
         memory_examine(&lvalue, 24, 'x');
         break;






More information about the wine-patches mailing list