Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Use UNW_REG_SP insteaf of UNW_TDP_SP
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 7 Sep 2015 13:37:18 +0000 (15:37 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 7 Sep 2015 13:37:18 +0000 (15:37 +0200)
src/mc/mc_dwarf_expression.cpp

index c148b44..7bf2335 100644 (file)
@@ -170,7 +170,7 @@ int mc_dwarf_execute_expression(size_t n, const Dwarf_Op * ops,
         unw_step(&cursor);
 
         unw_word_t res;
-        unw_get_reg(&cursor, UNW_TDEP_SP, &res);
+        unw_get_reg(&cursor, UNW_REG_SP, &res);
         error = mc_dwarf_push_value(state, res);
         break;
       }