diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-03-21 22:07:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-03-21 22:07:14 +0000 |
commit | 0f579087abbd52ef11e1c0dc0236e0393ccfaba0 (patch) | |
tree | 4219135568b5e7b910d0e79702c9cad8924380e6 /gprof/gprof.c | |
parent | 9e4ebb1b3a69d506af5f46c3704458ff5bbfc999 (diff) | |
download | gdb-0f579087abbd52ef11e1c0dc0236e0393ccfaba0.zip gdb-0f579087abbd52ef11e1c0dc0236e0393ccfaba0.tar.gz gdb-0f579087abbd52ef11e1c0dc0236e0393ccfaba0.tar.bz2 |
Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
* gprof.c (default_excluded_list): Add "__mcount".
* gprof.c (main): Change ifdef __osf__ to __alpha__.
* gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the
profiling rate from the header.
* gmon.h (struct raw_phdr): Only include pad if both __alpha__ and
__osf__ are defined. Add new fields if BSD44_FORMAT is defined.
* alpha.h (MIN_INSN_SIZE): Define.
* core.c (MIN_INSN_SIZE): If not defined, define as 1.
(core_sym_class): Ignore debugging symbols.
(core_create_line_syms): Use MIN_INSN_SIZE when gathering line
information.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r-- | gprof/gprof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index 742f0a6..e99f2d2 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -69,7 +69,7 @@ bfd *abfd; */ static char *default_excluded_list[] = { - "_gprof_mcount", "mcount", "_mcount", "__mcleanup", + "_gprof_mcount", "mcount", "_mcount", "__mcount", "__mcleanup", "<locore>", "<hicore>", 0 }; @@ -437,7 +437,7 @@ DEFUN (main, (argc, argv), int argc AND char **argv) { sym_id_add (*sp, EXCL_TIME); sym_id_add (*sp, EXCL_GRAPH); -#ifdef __osf__ +#ifdef __alpha__ sym_id_add (*sp, EXCL_FLAT); #endif } |