Eric Pouech : winedbg: Fixed the auto mode.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 3 05:18:40 CDT 2006


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

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Mon Oct  2 22:30:11 2006 +0200

winedbg: Fixed the auto mode.

---

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

diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c
index d2042bf..c5b7b1e 100644
--- a/programs/winedbg/info.c
+++ b/programs/winedbg/info.c
@@ -204,7 +204,7 @@ void info_win32_module(DWORD base)
     int                 i, j, num_printed = 0;
     DWORD               opt;
 
-    if (!dbg_curr_process || !dbg_curr_thread)
+    if (!dbg_curr_process)
     {
         dbg_printf("Cannot get info on module while no process is loaded\n");
         return;
diff --git a/programs/winedbg/tgt_active.c b/programs/winedbg/tgt_active.c
index 8dbca97..d87f4c2 100644
--- a/programs/winedbg/tgt_active.c
+++ b/programs/winedbg/tgt_active.c
@@ -927,6 +927,9 @@ enum dbg_start dbg_active_auto(int argc,
     else return start_error_parse;
     if (hFile == INVALID_HANDLE_VALUE) return start_error_parse;
 
+    if (dbg_curr_process->active_debuggee)
+        dbg_active_wait_for_first_exception();
+
     dbg_interactiveP = TRUE;
     parser_handle(hFile);
 




More information about the wine-cvs mailing list