diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-03-14 02:58:16 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-03-14 02:58:16 +0000 |
commit | 03c35bcb6ec00adf7bff3a0e51370718c03d5f90 (patch) | |
tree | 3cd2158a6161f5bda4749e952eb8f82d6606de9c /gprof/alpha.c | |
parent | 477b2425006ba2c296fc3c0e64cfd0146f99a7dd (diff) | |
download | gdb-03c35bcb6ec00adf7bff3a0e51370718c03d5f90.zip gdb-03c35bcb6ec00adf7bff3a0e51370718c03d5f90.tar.gz gdb-03c35bcb6ec00adf7bff3a0e51370718c03d5f90.tar.bz2 |
* __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*).
Diffstat (limited to 'gprof/alpha.c')
-rw-r--r-- | gprof/alpha.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gprof/alpha.c b/gprof/alpha.c index e81b372..e99fee5 100644 --- a/gprof/alpha.c +++ b/gprof/alpha.c @@ -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 ***/ + } + } +} |