Eric Pouech : dbghelp: Correctly compute offsets in line number information .

Alexandre Julliard julliard at winehq.org
Mon Nov 23 08:49:51 CST 2009


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

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sat Nov 21 16:35:01 2009 +0100

dbghelp: Correctly compute offsets in line number information.

---

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

diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 34de916..b314602 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1410,7 +1410,7 @@ static void codeview_snarf_linetab2(const struct msc_debug_info* msc_dbg, const
             {
                 symt_add_func_line(msc_dbg->module, func, source,
                                    lines_blk->l[i].lineno ^ 0x80000000,
-                                   lines_blk->l[i].offset - lines_blk->start);
+                                   lines_blk->l[i].offset);
             }
             break;
         case LT2_FILES_BLOCK: /* skip */




More information about the wine-cvs mailing list