1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 23:47:39 +01: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:
mostang.com!davidm 2003-02-21 07:36:26 +00:00
parent 749cd25529
commit cb4fb05032

View file

@ -23,8 +23,9 @@ rotate_gr (struct cursor *c, int reg)
if (preg > 32 + (int) sor)
preg -= sor; /* wrap around */
}
debug (100, "%s: sor=%u rrb.gr=%u, r%d -> r%d\n",
__FUNCTION__, sor, rrb_gr, reg, preg);
if (sor)
debug (100, "%s: sor=%u rrb.gr=%u, r%d -> r%d\n",
__FUNCTION__, sor, rrb_gr, reg, preg);
return preg;
}
@ -46,7 +47,9 @@ rotate_fr (struct cursor *c, int reg)
if (preg > 127)
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;
}