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:
parent
497018e941
commit
cda74fe038
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue