Daniel Lehman : winedbg: Handle the 4th parameter for 64-bit C++ exceptions.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 26 10:26:46 CST 2016


Module: wine
Branch: master
Commit: 26b37c40e753c0741e543f1b72332ca0546cb695
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=26b37c40e753c0741e543f1b72332ca0546cb695

Author: Daniel Lehman <dlehman at esri.com>
Date:   Wed Nov 24 16:19:39 2010 -0800

winedbg: Handle the 4th parameter for 64-bit C++ exceptions.

Signed-off-by: Daniel Lehman <dlehman at esri.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winedbg/info.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c
index 08ac938..e521252 100644
--- a/programs/winedbg/info.c
+++ b/programs/winedbg/info.c
@@ -953,6 +953,10 @@ void info_win32_exception(void)
         if(rec->NumberParameters == 3 && rec->ExceptionInformation[0] == CXX_FRAME_MAGIC)
             dbg_printf("C++ exception(object = 0x%08lx, type = 0x%08lx)",
                        rec->ExceptionInformation[1], rec->ExceptionInformation[2]);
+        else if(rec->NumberParameters == 4 && rec->ExceptionInformation[0] == CXX_FRAME_MAGIC)
+            dbg_printf("C++ exception(object = %p, type = %p, base = %p)",
+                       (void*)rec->ExceptionInformation[1], (void*)rec->ExceptionInformation[2],
+                       (void*)rec->ExceptionInformation[3]);
         else
             dbg_printf("C++ exception with strange parameter count %d or magic 0x%08lx",
                        rec->NumberParameters, rec->ExceptionInformation[0]);




More information about the wine-cvs mailing list