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