projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust gdb.mi/mi-sym-info.exp filename patterns.
[deliverable/binutils-gdb.git]
/
gprof
/
cg_dfn.c
diff --git
a/gprof/cg_dfn.c
b/gprof/cg_dfn.c
index 6d19afcb587a32c4be2620ccbf848b9d50444afd..1da4c66b84f215b80774f5ed12ba5d5d289ab015 100644
(file)
--- a/
gprof/cg_dfn.c
+++ b/
gprof/cg_dfn.c
@@
-92,7
+92,7
@@
find_cycle (Sym *child)
Sym *head = 0;
Sym *tail;
int cycle_top;
Sym *head = 0;
Sym *tail;
int cycle_top;
- int index;
+ int
cycle_
index;
for (cycle_top = dfn_depth; cycle_top > 0; --cycle_top)
{
for (cycle_top = dfn_depth; cycle_top > 0; --cycle_top)
{
@@
-169,9
+169,9
@@
find_cycle (Sym *child)
print_name (head);
printf ("\n"));
}
print_name (head);
printf ("\n"));
}
- for (
index = cycle_top + 1; index <= dfn_depth; ++
index)
+ for (
cycle_index = cycle_top + 1; cycle_index <= dfn_depth; ++cycle_
index)
{
{
- child = dfn_stack[index].sym;
+ child = dfn_stack[
cycle_
index].sym;
if (child->cg.cyc.head == child)
{
/*
if (child->cg.cyc.head == child)
{
/*
@@
-217,7
+217,8
@@
pre_visit (Sym *parent)
if (dfn_depth >= dfn_maxdepth)
{
dfn_maxdepth += DFN_INCR_DEPTH;
if (dfn_depth >= dfn_maxdepth)
{
dfn_maxdepth += DFN_INCR_DEPTH;
- dfn_stack = xrealloc (dfn_stack, dfn_maxdepth * sizeof *dfn_stack);
+ dfn_stack = (DFN_Stack *) xrealloc (dfn_stack,
+ dfn_maxdepth * sizeof *dfn_stack);
}
dfn_stack[dfn_depth].sym = parent;
}
dfn_stack[dfn_depth].sym = parent;
This page took
0.024153 seconds
and
4
git commands to generate.