* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
[external/binutils.git] / gprof / ChangeLog
1 Tue Aug 30 11:12:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
2
3         * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
4         __gnu_compiled, for the benefit of systems which add a leading
5         underscore.
6
7 Wed Aug 24 12:49:13 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8
9         * configure.in: Change i386-*-* to i[345]86-*-*.
10
11 Sun Jul 10 00:35:31 1994  Ian Dall  (dall@hfrd.dsto.gov.au)
12
13         * ns532.c, ns532.h: New Files. ns532 support.
14
15         * config/mt-ns532: New File. ns532 support.
16
17         * gprof.c: user register int i instead of defaulting the int.
18         Allows compilation with -Dregister= for debugging.
19
20         * configure.in: Add ns532 support.
21
22 Thu Jun 23 11:22:41 1994  Jeff Law  (law@snake.cs.utah.edu)
23
24         * Makefile.in (gprof): Depend on $(LIBS).
25
26 Fri May 27 12:24:57 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
27
28         From binutils-2.4 release:
29
30         Wed May 11 22:32:00 1994  DJ Delorie (dj@ctron.com)
31
32         * configure.bat: [new] build makefile from makefile.in (dos)
33         * hertz.c: allow static HERTZ (msdos needs it)
34         * gprof.c: allow target to select "r" or "rb" for fopen
35         * gprof.c: ignore __gnu_compiled symbols
36         * i386.h: dfine FOPEN_RB to "rb" for dos.
37
38 Tue May 17 15:30:22 1994  E. Michael Smith (ems@cygnus.com)
39
40         * Makefile.in (.m.c:):  Added .SUFFIXES : .m 
41         so flat_bl.c would make from flat_bl.m file.
42
43 Thu May  5 19:23:24 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
44
45         * Makefile.in (install-info): Check for gprof.info in build dir,
46         fall back to srcdir.  Depend on it.
47
48         * gprof.h (TRUE, FALSE): Always use undef before defining them.
49
50 Mon Apr  4 23:47:30 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
51
52         * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing
53         makes (osf1) in which the value of MACHINE can not be changed.
54         * config/*.mt: Changed appropriately.
55
56 Wed Mar 30 16:12:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
57
58         * gprof.c (getsymtab): Change nosyms to long.  Rename
59         get_symtab_upper_bound to bfd_get_symtab_upper_bound.  Check for
60         errors from bfd_get_symtab_upper_bound and
61         bfd_canonicalize_symtab.
62
63 Tue Mar 22 10:50:52 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
64
65         * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
66         bfd_decode_symclass.
67
68 Sun Mar 20 15:40:21 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
69
70         * Makefile.in: Avoid bug in hpux sed.
71
72 Wed Dec 15 20:16:40 1993  david d `zoo' zuhn  (zoo@andros.cygnus.com)
73
74         * gprof.texi (Invoking): add text about -v flag
75
76         * gprof.1: add text about -v flag
77
78 Wed Dec  8 16:55:06 1993  david d `zoo' zuhn  (zoo@andros.cygnus.com)
79
80         * gprof.c (VERSION): defined a version macro, print the value 
81         when the -v option is used
82
83 Tue Jul  6 10:11:56 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
84
85         * Makefile.in: Install correctly.
86
87 Thu Jun 24 14:43:22 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
88
89         * gprof.c (main): Get whoami from argv, instead of hardcoding.
90         Use it in usage message.  Split usage message to fit in 80 cols.
91
92 Sun Jun 20 20:58:02 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
93
94         * Makefile.in: Undo 15 June change.
95
96 Wed Jun 16 12:54:53 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
97     
98         * gmon.h, gprof.h: structs of chars used to hold external
99         representations.
100         * gprof.c (getpfile, openpfile, readsamples): Swap data in using
101         new structures.
102
103 Tue Jun 15 23:09:17 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
104
105         * Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h.
106
107 Mon Jun 14 16:22:59 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
108
109         * Makefile.in: remove parentdir support
110
111 Mon Jun  7 12:56:17 1993  Per Bothner  (bothner@rtl.cygnus.com)
112
113         * Makefile.in (INCLUDES):  Add -I../bfd for sysdep.h and bfd.h.
114         * configure.in:  No longer need to configure to get sysdep.h.
115
116 Tue May 18 21:44:11 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
117
118         * Makefile.in (install): should not depend on install-info
119
120 Mon Apr 26 12:37:46 1993  Ian Lance Taylor  (ian@cygnus.com)
121
122         * gprof.h: Include ansidecl.h before sysdep.h.  Undefine hz.
123
124 Tue Apr 13 16:14:03 1993  Per Bothner  (bothner@cygnus.com)
125
126         * M Makefile.in:  Add -g to CFLAGS.
127         Ads LDFLAGS and use in place of CFLAGS where appropriate.
128         * configure.in:  Make a sysdep.hlink in the same way other
129         bfd-based directories do.
130         * gprof.h (UNIT):  Replace non-standard 'u_short' by 'unsigned
131         short'.
132         * gprof.h:  #include sysdep.h instead of a bunch of stuff.
133         * gprof.c (main):  Fix typo gproff->gprof.
134
135 Thu Mar 25 19:00:37 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
136
137         * gprof.texi: add INFO-DIR-ENTRY
138
139 Tue Mar 23 00:03:11 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
140
141         * Makefile.in: add installcheck target
142
143 Sat Feb 27 18:17:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
144
145         * gprof.c (funcsymbol):  Invert test for aflag.
146
147 Thu Feb 25 16:01:50 1993  Per Bothner  (bothner@rtl.cygnus.com)
148
149         * printgprof (xmalloc, xrealloc):  Cast results of malloc
150         and realloc to PTR.
151
152 Wed Feb  3 13:55:33 1993  Jeffrey Osier  (jeffrey@fowanton.cygnus.com)
153
154         * Makefile.in: created info, install-info, dvi
155
156 Wed Jan  6 00:58:09 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
157
158         * Makefile.in: fix install rule for $(PROG)
159
160 Fri Oct  9 11:25:41 1992  Mark Eichin  (eichin@cygnus.com)
161
162         * gprof.1: updated SYNOPSIS to match actual behavior.
163
164 Mon Oct  5 17:50:16 1992  Per Bothner  (bothner@cygnus.com)
165
166         * gen-c-prog.awk:  New awk script, lightly changed from
167         previously deleted make-c-prog.awk.  Converts a text file
168         to a c function that prints that text.
169         * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m:  New files.
170         Inputs to gen-c-prog.awk, containing text describing
171         gprof output.
172         * blurbs.c:  Removed.  Use *_bl.c instead.
173         * Makefile.in: Use gen-cprog.awk to generate *_bl.c files
174         from *_bl.m files.  Also, improve *clean rules.
175         * printgprof.c (printgprof):  Usw new function names from *_bl.c.
176         
177
178 Sun Aug 30 19:54:53 1992  Per Bothner  (bothner@rtl.cygnus.com)
179
180         * gprof.h, gprof.c, printfgprof.c:  Add support for two
181         output styles:  The default is similar to the old FSF gprof,
182         while -T sets the variable bsd_style_output, which causes
183         output matching Berkeley's gprof.  The biggest differences
184         are that with the FSF style output, the flat profile comes
185         before the call graph; numbers come before explanations;
186         and there is less gratuitous white space.
187         * gprof.h, gprof.c, printfgprof.c:  New discard_underscores
188         variable causes discarding of initial underscores when
189         printing symbol names.  It is set unless there is a "main"
190         symbol (without an underscore).
191         * printfgprof.c:  New function printnameonly(), called
192         by printname().  It handles stripping of initial '_',
193         as well as C++ name-demangling.
194         * gprof.callg, gprof.flat, make-c-prog.awk:  Removed.
195         It is just as convenient to edit blurbs.c directly.
196         * Makefile.in:  Removed rule for making blurbs.c.
197         * blurbs.c:  This is now a true source file (as opposed
198         to being generated from gprof.callg and gprof.flat).
199         Change style to use one long string literal, instead of
200         one literal per output line.  Add FSF-style blurb for call graph.
201
202 Wed Aug 19 14:36:39 1992  Ian Lance Taylor  (ian@cygnus.com)
203
204         * Makefile.in: always create installation directories.
205
206 Wed Aug 12 15:14:14 1992  Mark Eichin  (eichin@cygnus.com)
207
208         * Makefile.in: change ${MACHINE} to $(MACHINE).
209
210 Sun Jul 19 17:34:01 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
211
212         * Makefile.in:  removed installation of the now useless
213         call.{flag,callg} files.  
214
215         * gprof.1: now uses the standard man macros instead of the new BSD
216         mandoc macros. 
217
218 Sun Jul 12 19:06:00 1992  John Gilmore  (gnu at cygnus.com)
219
220         * configure.in:  Remove host section, expand target section.
221         * config/mt-{tahoe,vax}:  Add, to match existing support files.
222         * config/tmake-*:  Remove leftover crud.
223
224         * blurbs.c:  New file, created from gprof.flat and gprof.callg by
225         * make-c-prog.awk:  which processes text files into C programs.
226         * printgprof.c (flatprofheader, gprofheader):  Call new functions
227         to print blurbs.
228         (printblurb):  Remove.
229         * Makefile.in:  Infrastructure to build blurbs.
230         * pathnames.h:  has been removed.  Gprof now has no filename
231         dependencies in it.
232         * gprof.c:  Lint.
233
234 Sat Jul 11 18:07:21 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
235
236         * Makefile.in: define man1dir and install the man page
237
238 Fri Jul 10 21:14:08 1992  david d `zoo' zuhn (zoo@cygnus.com)
239
240         * Makefile.in: added dummy info and install-info targets
241
242 Thu Jun  4 11:34:02 1992  Mark Eichin  (eichin at cygnus.com)
243
244         * lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
245         help in debugging the problem (with -DDEBUG)
246         * gprof.c: symbol values are now real values, don't add the vma
247         anymore. (done for solaris; should verify this on other platforms)
248         * ChangeLog: created.