aboutsummaryrefslogtreecommitdiff
path: root/gprof
AgeCommit message (Collapse)AuthorFilesLines
1998-02-12 * gprof.c (usage): Update bug-gnu-utils address.Ian Lance Taylor2-1/+5
1998-02-07 * configure, aclocal.m4: Rebuild with new libtool.Ian Lance Taylor3-67/+53
1998-02-06 * alpha.c (alpha_Instruction): Use int, not signed.Ian Lance Taylor2-2/+6
1998-02-06 * core.c (core_init): Adding missing "break".Jeff Law2-0/+5
1998-02-05 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.Ian Lance Taylor4-115/+266
1998-02-04Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>Ian Lance Taylor5-2/+43
* bbconv.pl: New file. * Makefile.am (EXTRA_DIST): Add bbconv.pl. * Makefile.in: Rebuild.
1998-02-04Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>Ian Lance Taylor2-201/+1119
* gprof.texi: Extensive additions to document all arguments and output formats.
1998-02-04Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>Ian Lance Taylor7-76/+248
* symtab.c (symtab_finalize): Prefer function symbols over line symbols. (dbg_sym_lookup): Correct debugging messages. * gprof.c (main): --sum implies --line. * cg_print.c (cg_print): When doing line by line profiling, don't use a non-function as a main listing item. * call_graph.c (cg_tally): When using line by line profiling, use the function symbol as the child. * symtab.h (NBBS): Define. (Sym): Add bb_addr and bb_calls fields. * basic_blocks.c (bb_read_rec): Save multiple basic blocks per symbol. (bb_write_blocks): Adjust for multiple basic blocks per symbol. (print_exec_counts): Don't check whether a symbol is the start of a basic block. Print all basic blocks for a symbol. (annotate_with_count): Rewrite to print all basic block counts and to pay attention to width argument. (print_annotated_source): Don't check whether symbol is the start of a basic block.
1998-02-03Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>Ian Lance Taylor29-639/+522
Make it possible to build a cross gprof, although a few cases are still not handled: * configure.in: Don't set MY_TARGET. * gprof.h: Don't include MACHINE_H. Don't define FOPEN_RB or FOPEN_WB; just get them from sysdep.h. * core.h (min_insn_size, offset_to_code): Declare. * core.c (MIN_INSN_SIZE): Don't define. (min_insn_size, offset_to_code): New variables. (core_init): Initialize min_insn_size and offset_to_code. (find_call): New function. (core_create_line_syms): Don't use min_dist. Set is_static in pass 2. * hist.c (UNITS_TO_CODE): Define. * gprof.c (default_excluded_list): Add "__mcount_internal". * gmon.h: Change TARGET_alpha to __alpha__. * hertz.h: Ifdef MACH, define hertz as HZ. * alpha.c (alpha_Instruction): Rename from Instruction. Change all references. (alpha_find_call): Rename from find_call. * alpha.h: Remove. * dummy.c, dummy.h: Remove. * i386.c (i386_iscall): Rename from iscall. Change all references. Check for call instruction, not jump or lcall. (i386_find_call): Rename from find_call. Correct for VMA. Correct call destination computation. Don't dereference symbol if it is NULL. * i386.h: Remove. * ns532.c, ns532.h: Remove. * sparc.c (CALL): Define. (sparc_find_call): Rename from find_call. * sparc.h: Remove. * tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h. Don't include time_host.h. (CALLF, PC): Define. (enum tahoe_opermodes, tahoe_operandenum): Define. Rename all references to opermodes or operandenum to these. (tahoe_operandmode): Rename from operandmode. Call abort if switch does not return. (tahoe_operandname): Rename from operandname. Call abort if switch does not return. (tahoe_operandlength): Rename from operandlength. Call abort if switch does not return. (tahoe_reladdr): Rename from reladdr. (tahoe_find_call): Rename from find_call. Use core_text_space rather than textspace. * tahoe.h: Remove. * vax.c (CALLS, PC): Define. (enum opermodes, operandenum, struct modebyte): Define. (vax_operandmode): Rename from operandmode. Call abort if switch does not return. (vax_operandname): Rename from operandname. Call abort if switch does not return. (vax_operandlength): Rename from operandlength. Call abort if switch does not return. (vax_reladdr): Rename from reladdr. (vax_find_call): Rename from find_call. * vax.h: Remove. * Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus. (MY_TARGET): Remove. (INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H= \"$(MY_TARGET).h\". (gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c. (gprof_DEPENDENCIES): Remove $(MY_TARGET).o. (gprof_LDADD): Likewise. (noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h, tahoe.h, vax.h, dummy.h. (EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c, vax.c, dummy.c. ($(OBJECTS)): Don't depend upon $(MY_TARGET).h. ($(MY_TARGET).o): Remove target. (i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets. * configure, Makefile.in, aclocal.m4: Rebuild.
1998-01-22tipoesIan Lance Taylor1-5/+5
1997-12-29 * core.c (core_sym_class): Treat weak symbols as text symbols.Ian Lance Taylor2-0/+12
From Dean Gaudet <dgaudet@arctic.org>.
1997-09-24 * aclocal.m4: Rebuild with new libtool.Ian Lance Taylor4-9/+15
* Makefile.in: Rebuild with current automake. * configure: Rebuild.
1997-09-18sanitization fixes. typoes, missing fences, "start" instead of "end", etc.Felix Lee1-1/+1
1997-09-04Add missing end itemize.Jeff Law1-0/+1
1997-08-09 * configure.in: Change version number to 2.8.2. CallIan Lance Taylor12-339/+867
AM_PROG_LIBTOOL. Remove shared library handling; now handled by libtool. Add AM_CONFIG_HEADER. Change AC_PROG_INSTALL to AM_PROG_INSTALL. Add AM_EXEEXT. * Makefile.am (LINK): Remove. (gprof_LDFLAGS): Remove (gprof_DEPENDENCIES): Change libbfd.a to libbfd.la. (gprof_LDADD): Likewise. ($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h. * gprof.h: Undefine PACKAGE and VERSION after including BFD sysdep.h file, then include new gconfig.h file. * gprof.c (VERSION): Don't define. * acconfig.h: New file. * stamp-h.in: New file. * gconfig.in: New file, created by autoheader. * Makefile.in, configure, aclocal.m4: Rebuild.
1997-06-30finish upgrade to automake 1.2Ian Lance Taylor1-7/+3
1997-06-29 * aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2.Ian Lance Taylor4-110/+74
1997-06-16 * Makefile.am (INCLUDES): Add -DDEBUG.Ian Lance Taylor3-31/+44
* Makefile.in: Rebuild.
1997-04-15 Change to use automake:Ian Lance Taylor7-241/+1076
* Makefile.am: New file. * configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and AM_CYGWIN32. * aclocal.m4: New file, created by aclocal. * Makefile.in: Replace with file created by automake --cygnus. * configure: Rebuild.
1997-04-03 * gprof.c (VERSION): Define as "2.8.1".Ian Lance Taylor2-1/+7
1997-03-27 * gprof.c (main): Correct copyright message.Ian Lance Taylor2-3/+6
1997-03-24 * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.Ian Lance Taylor3-8/+23
* gmon.h: Use bytes counts rather than sizeof in struct raw_phdr and struct raw_arc.
1997-03-17Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor2-0/+6
* cg_arcs.c (arc_add): memset() newly alloced arc to ensure all fields are initialized with 0.
1997-03-16Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor4-2/+11
* symtab.h (find_call): Declare. * cg_arcs.c (cg_assemble): Don't declare find_call. * hist.c (scale_and_align_entries): Declare.
1997-02-27 * configure.in: Define BSD44_FORMAT if the target looks like aIan Lance Taylor5-2/+29
BSD4.4 derived system. * configure: Rebuild. * Makefile.in (.c.o): Add @DEFS@. * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate from profrate field, not version field.
1997-02-27comment changeIan Lance Taylor1-0/+2
1997-01-16 * dummy.c (find_call): Clear ignore_direct_calls.Ian Lance Taylor2-0/+7
1996-12-31 * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at theIan Lance Taylor2-2/+8
end. (gprof): Put $(CFLAGS) after the other options.
1996-11-26 * configure: Rebuild with autoconf 2.12.Ian Lance Taylor2-37/+156
1996-10-02 * sparc.c (find_call): Align p_lowpc to avoid bus error.Ian Lance Taylor2-1/+5
1996-10-01 * gprof.c (usage): Print bug report address.Ian Lance Taylor2-1/+13
(main): Change version printing to match current GNU standards.
1996-08-30 * gmon.h: Replace #elif with #else/#endif.Ian Lance Taylor2-1/+7
1996-08-29Recognize i686-*-* for pentium proMichael Meissner3-2/+7
1996-08-23 * configure.in: Set and substitute HLDENV.Ian Lance Taylor4-3/+22
* configure: Rebuild. * Makefile.in (HLDENV): New variable. (gprof): Use $(HLDENV).
1996-08-07Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-1/+6
* core.c (read_function_mappings): Cast xmalloc return.
1996-07-04 * gprof.c (VERSION): Define as "2.7.1".Ian Lance Taylor2-1/+3
1996-07-04 * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can beIan Lance Taylor1-1/+1
stored on a System V file system. VS: ----------------------------------------------------------------------
1996-07-04 * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can beIan Lance Taylor2-0/+3
stored on a System V file system.
1996-07-04xIan Lance Taylor1-0/+4
1996-06-27 * configure.in: Call AC_ISC_POSIX.Ian Lance Taylor5-4/+42
* configure: Rebuild. * Makefile.in (gprof): Pass $(CFLAGS) during link. * hertz.c: Don't include <sys/time.h>; let sysdep.h handle that. If HAVE_SETITIMER is not defined, try using sysconf.
1996-06-25 * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,Jason Molenda4-10/+86
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. * configure.in (AC_PREREQ): autoconf 2.5 or higher. (AC_PROG_INSTALL): added. * configure: Rebuilt.
1996-06-24 * configure.in: On alpha*-*-osf*, link against libbfd.a if notIan Lance Taylor3-14/+44
using shared libraries. * configure: Rebuild with autoconf 2.10.
1996-06-18 * core.c (core_create_line_syms): Use xstrdup rather than strdup.Ian Lance Taylor3-2/+7
* source.c (source_file_lookup_path): Likewise.
1996-04-08 * configure.in: Permit --enable-shared to specify a list ofIan Lance Taylor3-3/+11
directories. * configure: Rebuild.
1996-03-21 * core.c (core_create_function_syms): Move filename and func_nameIan Lance Taylor7-28/+48
inside ifdef where they are used. * core.c (core_sym_class): Parenthesize && within ||. * symtab.c (symtab_finalize): Correct parenthesization. * cg_print.h (cg_print_file_ordering): Declare. (cg_print_function_ordering): Declare. * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy. * cg_arcs.c (arc_add): Likewise. * cg_print.c (cg_print_function_ordering): Likewise.
1996-03-21Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor6-12/+65
* 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.
1996-03-20Wed Mar 20 18:15:47 1996 Andreas Schwab ↵Ian Lance Taylor2-2/+8
<schwab@issan.informatik.uni-dortmund.de> * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled as __GNU_C__. (order_and_dump_functions_by_arcs): Likewise.
1996-03-12 * configure: Rebuild with autoconf 2.8.Ian Lance Taylor2-12/+61
1996-02-18 * configure.in: Check for 'do not mix' from native linker beforeIan Lance Taylor3-0/+10
trying to use -rpath. * configure: Rebuild.
1996-02-13 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.Ian Lance Taylor3-0/+11
* configure: Rebuild.