When you say variable what kind is it? Local reg...
# gf180mcu
d
When you say variable what kind is it? Local reg/stack/constant, loaded from data, loaded from MMIO/wishbone? Have you public code and object to share, to confirm its built ok and the method its using?