diff --git a/src/_UPT_access_reg.c b/src/_UPT_access_reg.c index 21cda732..4f324a1d 100644 --- a/src/_UPT_access_reg.c +++ b/src/_UPT_access_reg.c @@ -40,7 +40,7 @@ _UPT_access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, struct UPT_info *ui = arg; pid_t pid = ui->pid; -#if DEBUG +#if UNW_DEBUG if (write) debug (100, "%s: %s <- %lx\n", __FUNCTION__, unw_regname (reg), (long) *val); @@ -240,7 +240,7 @@ _UPT_access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, #ifdef UNW_TARGET_IA64 out: #endif -#if DEBUG +#if UNW_DEBUG if (!write) debug (100, "%s: %s -> %lx\n", __FUNCTION__, unw_regname (reg), (long) *val);