From: Gabriel Corona Date: Tue, 19 Apr 2016 13:45:32 +0000 (+0200) Subject: [mc] Fix error in computation of Frame range when DW_AT_high_pc is a virtual address X-Git-Tag: v3_13~58 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/67a8c767ce9e19f1f341e07d60252cefbb0c3aec [mc] Fix error in computation of Frame range when DW_AT_high_pc is a virtual address The begin() address was set instead of the end() one. --- diff --git a/src/mc/mc_dwarf.cpp b/src/mc/mc_dwarf.cpp index af3042298a..32742efd60 100644 --- a/src/mc/mc_dwarf.cpp +++ b/src/mc/mc_dwarf.cpp @@ -887,7 +887,7 @@ static void MC_dwarf_handle_scope_die(simgrid::mc::ObjectInformation* info, Dwar case simgrid::dwarf::FormClass::Address: if (dwarf_formaddr(&attr, &high_pc) != 0) xbt_die("Could not read address"); - frame.range.begin() = base + high_pc; + frame.range.end() = base + high_pc; break; default: