From 7fd45d122cec23084aa3d6ab4041e3f5bd7c93a8 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Sat, 15 Feb 2003 03:10:30 +0000 Subject: [PATCH] (create_state_record_for): Use dprintf(), not printf(). (Logical change 1.48) --- src/ia64/Gparser-ia64.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/ia64/Gparser-ia64.c b/src/ia64/Gparser-ia64.c index dd5e71e9..7e2b38a9 100644 --- a/src/ia64/Gparser-ia64.c +++ b/src/ia64/Gparser-ia64.c @@ -984,39 +984,39 @@ create_state_record_for (struct cursor *c, struct ia64_state_record *sr, #if UNW_DEBUG if (unw.debug_level > 0) { - printf ("unwind: state record for func 0x%lx, t=%u (flags=0x%lx):\n", - (long) c->pi.start_ip, sr->when_target, (long) c->pi.flags); + dprintf ("unwind: state record for func 0x%lx, t=%u (flags=0x%lx):\n", + (long) c->pi.start_ip, sr->when_target, (long) c->pi.flags); for (r = sr->curr.reg; r < sr->curr.reg + IA64_NUM_PREGS; ++r) { if (r->where != IA64_WHERE_NONE || r->when != IA64_WHEN_NEVER) { - printf (" %s <- ", unw.preg_name[r - sr->curr.reg]); + dprintf (" %s <- ", unw.preg_name[r - sr->curr.reg]); switch (r->where) { case IA64_WHERE_GR: - printf ("r%lu", (long) r->val); + dprintf ("r%lu", (long) r->val); break; case IA64_WHERE_FR: - printf ("f%lu", (long) r->val); + dprintf ("f%lu", (long) r->val); break; case IA64_WHERE_BR: - printf ("b%lu", (long) r->val); + dprintf ("b%lu", (long) r->val); break; case IA64_WHERE_SPREL: - printf ("[sp+0x%lx]", (long) r->val); + dprintf ("[sp+0x%lx]", (long) r->val); break; case IA64_WHERE_PSPREL: - printf ("[psp+0x%lx]", (long) r->val); + dprintf ("[psp+0x%lx]", (long) r->val); break; case IA64_WHERE_NONE: - printf ("%s+0x%lx", - unw.preg_name[r - sr->curr.reg], (long) r->val); + dprintf ("%s+0x%lx", + unw.preg_name[r - sr->curr.reg], (long) r->val); break; default: - printf ("BADWHERE(%d)", r->where); + dprintf ("BADWHERE(%d)", r->where); break; } - printf ("\t\t%d\n", r->when); + dprintf ("\t\t%d\n", r->when); } } }