3 * printgprof.c (flatprofheader): Always set totime to 1.0 if not
4 greater than 0.0. Suggested by Harold Assink
9 * printgprof.c (printprof): Use free, not cfree.
10 (printgprof, printindex): Ditto.
14 * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
15 decls extern to keep native HP compiler quiet.
19 * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
20 __gnu_compiled, for the benefit of systems which add a leading
25 * configure.in: Change i386-*-* to i[345]86-*-*.
29 * ns532.c, ns532.h: New Files. ns532 support.
31 * config/mt-ns532: New File. ns532 support.
33 * gprof.c: user register int i instead of defaulting the int.
34 Allows compilation with -Dregister= for debugging.
36 * configure.in: Add ns532 support.
40 * Makefile.in (gprof): Depend on $(LIBS).
44 From binutils-2.4 release:
48 * configure.bat: [new] build makefile from makefile.in (dos)
49 * hertz.c: allow static HERTZ (msdos needs it)
50 * gprof.c: allow target to select "r" or "rb" for fopen
51 * gprof.c: ignore __gnu_compiled symbols
52 * i386.h: dfine FOPEN_RB to "rb" for dos.
56 * Makefile.in (.m.c:): Added .SUFFIXES : .m
57 so flat_bl.c would make from flat_bl.m file.
61 * Makefile.in (install-info): Check for gprof.info in build dir,
62 fall back to srcdir. Depend on it.
64 * gprof.h (TRUE, FALSE): Always use undef before defining them.
68 * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing
69 makes (osf1) in which the value of MACHINE can not be changed.
70 * config/*.mt: Changed appropriately.
74 * gprof.c (getsymtab): Change nosyms to long. Rename
75 get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for
76 errors from bfd_get_symtab_upper_bound and
77 bfd_canonicalize_symtab.
81 * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
86 * Makefile.in: Avoid bug in hpux sed.
90 * gprof.texi (Invoking): add text about -v flag
92 * gprof.1: add text about -v flag
96 * gprof.c (VERSION): defined a version macro, print the value
97 when the -v option is used
101 * Makefile.in: Install correctly.
105 * gprof.c (main): Get whoami from argv, instead of hardcoding.
106 Use it in usage message. Split usage message to fit in 80 cols.
110 * Makefile.in: Undo 15 June change.
114 * gmon.h, gprof.h: structs of chars used to hold external
116 * gprof.c (getpfile, openpfile, readsamples): Swap data in using
121 * Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h.
123 Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
125 * Makefile.in: remove parentdir support
129 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
130 * configure.in: No longer need to configure to get sysdep.h.
132 Tue May 18 21:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
134 * Makefile.in (install): should not depend on install-info
138 * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz.
142 * M Makefile.in: Add -g to CFLAGS.
143 Ads LDFLAGS and use in place of CFLAGS where appropriate.
144 * configure.in: Make a sysdep.hlink in the same way other
145 bfd-based directories do.
146 * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned
148 * gprof.h: #include sysdep.h instead of a bunch of stuff.
149 * gprof.c (main): Fix typo gproff->gprof.
151 Thu Mar 25 19:00:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
153 * gprof.texi: add INFO-DIR-ENTRY
155 Tue Mar 23 00:03:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
157 * Makefile.in: add installcheck target
161 * gprof.c (funcsymbol): Invert test for aflag.
165 * printgprof (xmalloc, xrealloc): Cast results of malloc
170 * Makefile.in: created info, install-info, dvi
172 Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
174 * Makefile.in: fix install rule for $(PROG)
178 * gprof.1: updated SYNOPSIS to match actual behavior.
182 * gen-c-prog.awk: New awk script, lightly changed from
183 previously deleted make-c-prog.awk. Converts a text file
184 to a c function that prints that text.
185 * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files.
186 Inputs to gen-c-prog.awk, containing text describing
188 * blurbs.c: Removed. Use *_bl.c instead.
189 * Makefile.in: Use gen-cprog.awk to generate *_bl.c files
190 from *_bl.m files. Also, improve *clean rules.
191 * printgprof.c (printgprof): Usw new function names from *_bl.c.
196 * gprof.h, gprof.c, printfgprof.c: Add support for two
197 output styles: The default is similar to the old FSF gprof,
198 while -T sets the variable bsd_style_output, which causes
199 output matching Berkeley's gprof. The biggest differences
200 are that with the FSF style output, the flat profile comes
201 before the call graph; numbers come before explanations;
202 and there is less gratuitous white space.
203 * gprof.h, gprof.c, printfgprof.c: New discard_underscores
204 variable causes discarding of initial underscores when
205 printing symbol names. It is set unless there is a "main"
206 symbol (without an underscore).
207 * printfgprof.c: New function printnameonly(), called
208 by printname(). It handles stripping of initial '_',
209 as well as C++ name-demangling.
210 * gprof.callg, gprof.flat, make-c-prog.awk: Removed.
211 It is just as convenient to edit blurbs.c directly.
212 * Makefile.in: Removed rule for making blurbs.c.
213 * blurbs.c: This is now a true source file (as opposed
214 to being generated from gprof.callg and gprof.flat).
215 Change style to use one long string literal, instead of
216 one literal per output line. Add FSF-style blurb for call graph.
220 * Makefile.in: always create installation directories.
224 * Makefile.in: change ${MACHINE} to $(MACHINE).
226 Sun Jul 19 17:34:01 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
228 * Makefile.in: removed installation of the now useless
229 call.{flag,callg} files.
231 * gprof.1: now uses the standard man macros instead of the new BSD
234 Sun Jul 12 19:06:00 1992 John Gilmore (gnu at cygnus.com)
236 * configure.in: Remove host section, expand target section.
237 * config/mt-{tahoe,vax}: Add, to match existing support files.
238 * config/tmake-*: Remove leftover crud.
240 * blurbs.c: New file, created from gprof.flat and gprof.callg by
241 * make-c-prog.awk: which processes text files into C programs.
242 * printgprof.c (flatprofheader, gprofheader): Call new functions
244 (printblurb): Remove.
245 * Makefile.in: Infrastructure to build blurbs.
246 * pathnames.h: has been removed. Gprof now has no filename
250 Sat Jul 11 18:07:21 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
252 * Makefile.in: define man1dir and install the man page
256 * Makefile.in: added dummy info and install-info targets
258 Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
260 * lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
261 help in debugging the problem (with -DDEBUG)
262 * gprof.c: symbol values are now real values, don't add the vma
263 anymore. (done for solaris; should verify this on other platforms)
264 * ChangeLog: created.