diff options
author | Petr Machata <pmachata@redhat.com> | 2012-10-29 18:50:17 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-10-29 18:50:17 +0100 |
commit | 2b955a5cefeab9cd409f7973837bf1d25003d8e9 (patch) | |
tree | 77b97a6e336f2896527af22ec5ff15080c454a4f /value.h | |
parent | 43417844f6a8d26ae7388101f4eaf49d03be5cfc (diff) | |
download | ltrace-2b955a5cefeab9cd409f7973837bf1d25003d8e9.tar.gz |
struct value should differentiate between inferior and private address
Diffstat (limited to 'value.h')
-rw-r--r-- | value.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,6 +22,7 @@ #define VALUE_H #include "forward.h" +#include "sysdep.h" /* Values are objects that capture data fetched from an inferior. * Typically a value is attached to a single inferior where it was @@ -49,8 +50,8 @@ struct value { struct value *parent; size_t size; union { - void *address; /* VAL_LOC_CLIENT, VAL_LOC_COPY, - VAL_LOC_SHARED */ + void *address; /* VAL_LOC_COPY, VAL_LOC_SHARED */ + arch_addr_t inf_address; /* VAL_LOC_INFERIOR */ long value; /* VAL_LOC_WORD */ unsigned char buf[0]; } u; |