forked from Imagelibrary/binutils-gdb
* __bb_exit_func.c: New file, from David Mosberger-Tang.
Thu Feb 9 16:56:07 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu> * All *.c: More cleanup towards GNU format. * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record): replaced sizeof (bfd_vma) by size (char*) because Ken tells me that bfd_vma is only guaranteed to be at least as big as a pointer. (GMON_Record_tag): added explicit enumeration values to ensure compatibility across compilers. * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by sizeof(char*).
This commit is contained in:
@@ -89,20 +89,20 @@ find_call (parent, p_lowpc, p_highpc)
|
||||
indirect_child.name = "<indirect child>";
|
||||
indirect_child.cg.prop.fract = 1.0;
|
||||
indirect_child.cg.cyc.head = &indirect_child;
|
||||
} /* if */
|
||||
}
|
||||
|
||||
if (!core_text_space)
|
||||
{
|
||||
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 (pc = (Instruction *) (p_lowpc + delta);
|
||||
@@ -128,7 +128,7 @@ find_call (parent, p_lowpc, p_highpc)
|
||||
(bfd_vma) pc - delta,
|
||||
pc->j.func == Jxx_FUNC_JSR ? "" : "_coroutine"));
|
||||
arc_add (parent, &indirect_child, 0);
|
||||
} /* if */
|
||||
}
|
||||
break;
|
||||
|
||||
case OP_BSR:
|
||||
@@ -153,8 +153,8 @@ find_call (parent, p_lowpc, p_highpc)
|
||||
/* a hit: */
|
||||
arc_add (parent, child, 0);
|
||||
continue;
|
||||
} /* if */
|
||||
} /* if */
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Something funny going on.
|
||||
*/
|
||||
@@ -163,7 +163,6 @@ find_call (parent, p_lowpc, p_highpc)
|
||||
|
||||
default:
|
||||
break;
|
||||
} /* switch */
|
||||
} /* for */
|
||||
} /* find_call */
|
||||
/*** end of alpha.c ***/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user