mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-10-02 11:29:32 +02:00
(rotate_gr): Only print debug info if size-of-rotating-partition is non-zero.
(rotate_fr): Only print debug info if rotation-base is non-zero. (Logical change 1.52)
This commit is contained in:
parent
749cd25529
commit
cb4fb05032
1 changed files with 6 additions and 3 deletions
|
@ -23,8 +23,9 @@ rotate_gr (struct cursor *c, int reg)
|
||||||
if (preg > 32 + (int) sor)
|
if (preg > 32 + (int) sor)
|
||||||
preg -= sor; /* wrap around */
|
preg -= sor; /* wrap around */
|
||||||
}
|
}
|
||||||
debug (100, "%s: sor=%u rrb.gr=%u, r%d -> r%d\n",
|
if (sor)
|
||||||
__FUNCTION__, sor, rrb_gr, reg, preg);
|
debug (100, "%s: sor=%u rrb.gr=%u, r%d -> r%d\n",
|
||||||
|
__FUNCTION__, sor, rrb_gr, reg, preg);
|
||||||
return preg;
|
return preg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +47,9 @@ rotate_fr (struct cursor *c, int reg)
|
||||||
if (preg > 127)
|
if (preg > 127)
|
||||||
preg -= 96; /* wrap around */
|
preg -= 96; /* wrap around */
|
||||||
}
|
}
|
||||||
debug (100, "%s: rrb.fr=%u, f%d -> f%d\n", __FUNCTION__, rrb_fr, reg, preg);
|
if (rrb_fr)
|
||||||
|
debug (100, "%s: rrb.fr=%u, f%d -> f%d\n",
|
||||||
|
__FUNCTION__, rrb_fr, reg, preg);
|
||||||
return preg;
|
return preg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue