if (core_text_space == 0)
{
return;
- } /* if */
+ }
if (p_lowpc < s_lowpc)
{
p_lowpc = s_lowpc;
- } /* if */
+ }
if (p_highpc > s_highpc)
{
p_highpc = s_highpc;
- } /* if */
+ }
DBG (CALLDEBUG, printf ("[find_call] %s: 0x%lx to 0x%lx\n",
parent->name, p_lowpc, p_highpc));
- for (instr = (unsigned int *) (p_lowpc + delta);
+ for (instr = (unsigned int *) (((p_lowpc + delta) + 3) &~ 3);
instr < (unsigned int *) (p_highpc + delta);
++instr)
{
/* a hit: */
arc_add (parent, child, 0);
continue;
- } /* if */
- } /* if */
+ }
+ }
/*
* Something funny going on.
*/
DBG (CALLDEBUG, printf ("\tbut it's a botch\n"));
- } /* if */
- } /* for */
-} /* find_call */
-/*** end of sparc.c ***/
+ }
+ }
+}