Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix DW_OP_addr to translate address into virtual address space
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 25 Mar 2014 10:12:39 +0000 (11:12 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 25 Mar 2014 10:12:39 +0000 (11:12 +0100)
commit4fd2f97dd395fdec3a097054bb19ab70e7e99380
tree441ce4a3c323e42d79b65803253b967a445fbe16
parent74ad67119d0dc499453bc53515f285e4b7c7c31c
[mc] Fix DW_OP_addr to translate address into virtual address space

For shared objects, the address is in fact an offset from the base
address of the mapped shared object:

    real_address = shared_object_address + address
src/mc/mc_checkpoint.c
src/mc/mc_dwarf.c
src/mc/mc_dwarf_expression.c
src/mc/mc_global.c
src/mc/mc_hash.c
src/mc/mc_private.h
testsuite/mc/dwarf.c
testsuite/mc/dwarf_expression.c