[PATCH] [DbgHelp]: correctly compute offsets in line number information

Eric Pouech eric.pouech at orange.fr
Sat Nov 21 09:35:01 CST 2009




A+
---

 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 d31dd71..05733c1 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1417,7 +1417,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-patches mailing list