Alexandre Julliard : dbghelp: Don't fail to initialize if we can' t load the main module as ELF.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 19 13:14:59 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Apr 19 14:30:10 2006 +0200

dbghelp: Don't fail to initialize if we can't load the main module as ELF.

---

 dlls/dbghelp/dbghelp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/dbghelp/dbghelp.c b/dlls/dbghelp/dbghelp.c
index bd75a60..9dbb4dd 100644
--- a/dlls/dbghelp/dbghelp.c
+++ b/dlls/dbghelp/dbghelp.c
@@ -171,7 +171,8 @@ static BOOL check_live_target(struct pro
 {
     if (!GetProcessId(pcs->handle)) return FALSE;
     if (GetEnvironmentVariableA("DBGHELP_NOLIVE", NULL, 0)) return FALSE;
-    return elf_read_wine_loader_dbg_info(pcs);
+    elf_read_wine_loader_dbg_info(pcs);
+    return TRUE;
 }
 
 /******************************************************************




More information about the wine-cvs mailing list