1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-23 00:30:29 +01:00

Replace #if DEBUG with #if UNW_DEBUG.

(Logical change 1.130)
This commit is contained in:
hp.com!davidm 2003-11-27 06:52:54 +00:00
parent 497018e941
commit cda74fe038

View file

@ -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);