* alpha.c (alpha_Instruction): Don't use.
[deliverable/binutils-gdb.git] / gprof / ChangeLog
1 2002-01-31 Alan Modra <amodra@bigpond.net.au>
2
3 * alpha.c (alpha_Instruction): Don't use.
4 (alpha_find_call): Avoid use of bitfields and casts between
5 pointers and integers of different sizes. Avoid endian problems
6 when cross-compiling.
7 * vax.c (vax_find_call): Likewise.
8 (struct modebyte): Don't use.
9 (vax_operandmode): Pass in an unsigned char *.
10 (vax_operandlength): Likewise.
11 (vax_reladdr): Rename to vax_offset and return relative offset
12 rather than address.
13 * i386.c (i386_find_call): Avoid casts between pointers and
14 integers of different sizes.
15 * sparc.c (sparc_find_call): Likewise. Avoid endian problems.
16 * tahoe.c (tahoe_find_call): Likewise.
17 (tahoe_reladdr): Rename to tahoe_offset and return relative offset
18 rather than address.
19
20 * basic_blocks.h: Don't include headers here.
21 * call_graph.h: Likewise.
22 * cg_arcs.h: Likewise.
23 * cg_print.h: Likewise.
24 * corefile.h: Likewise.
25 * gmon_io.h: Likewise.
26 * gmon_out.h: Likewise.
27 * hertz.h: Likewise.
28 * hist.h: Likewise.
29 * source.h: Likewise.
30 * sym_ids.h: Likewise.
31 * symtab.h: Likewise.
32 * gprof.h: Don't include ansidecl.h, do include bfd.h.
33 (bool): Don't typedef.
34 * alpha.c: Adjust #include's for above header changes.
35 * basic_blocks.c: Likewise.
36 * call_graph.c: Likewise.
37 * cg_arcs.c: Likewise.
38 * cg_dfn.c: Likewise.
39 * cg_print.c: Likewise.
40 * corefile.c: Likewise.
41 * gmon_io.c: Likewise.
42 * gprof.c: Likewise.
43 * hertz.c: Likewise.
44 * hist.c: Likewise.
45 * i386.c: Likewise.
46 * mips.c: Likewise.
47 * sparc.c: Likewise.
48 * sym_ids.c: Likewise.
49 * symtab.c: Likewise.
50 * tahoe.c: Likewise.
51 * utils.c: Likewise.
52 * vax.c: Likewise.
53
54 * po/POTFILES.in: Regenerate.
55
56 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
57
58 * configure: Regenerated.
59
60 2002-01-26 Richard Henderson <rth@redhat.com>
61
62 * i386.c (i386_iscall): Static.
63 * tahoe.c (indirectchild, tahoe_operandmode): Static.
64 (tahoe_operandlength, tahoe_reladdr): Static.
65 * vax.c (indirectchild): Static.
66
67 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
68
69 * Makefile.am (install): Depend on install-info.
70 * Makefile.in: Regenerate.
71
72 2002-01-26 Jason Thorpe <thorpej@wasabisystems.com>
73
74 * mips.c: New file.
75 * Makefile.am (sources): Add mips.c.
76 (mips.o): New rule.
77 * Makefile.in: Regenerate.
78 * corefile.c: Update copyright years.
79 (find_call): Call mips_find_call for bfd_arch_mips.
80
81 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
82
83 * po/fr.po: Updated version.
84
85 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
86
87 * po/es.po: Updated version.
88
89 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
90
91 * po/gprof.pot: Regenerate.
92
93 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
94
95 * po/es.po: New file: Spanish translation.
96 * configure.in (ALL_LINGUAS): Add es.
97 * configure: Regenerate.
98
99 2002-01-03 Nick Clifton <nickc@cambridge.redhat.com>
100
101 * gmon_io.c (gmon_out_read): Remove use of ngettext(). It is not
102 present under AIX.
103
104 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
105
106 * cg_print.c (print_header): Fix spelling typo.
107
108 * gmon_io.c (gmon_out_read): Fix formatting of text messages to
109 allow easier translation into other languages.
110
111 2001-12-21 Nick Clifton <nickc@cambridge.redhat.com>
112
113 * configure.in (ALL_LINGUAS): Add sv.
114 * configure: Regenerate.
115 * po/sv.po: Import from translation project web site.
116
117 2001-12-03 Nick Clifton <nickc@cambridge.redhat.com>
118
119 * configure.in (LINGUAS): Add tr.
120 * configure: Regenerate.
121 * po/tr.po: Import from translation project's web site.
122
123 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
124
125 * configure.in (ALL_LINGUAS): Add 'fr'.
126 * configure: Regernate.
127 * po/fr.po: New file.
128
129 2001-10-03 Alan Modra <amodra@bigpond.net.au>
130
131 * configure: Regenerate.
132
133 2001-10-02 Alan Modra <amodra@bigpond.net.au>
134
135 * Makefile.am (Makefile): Depend on bfd/configure.in.
136 Run "make dep-am".
137 * Makefile.in: Regenerate.
138
139 2001-09-18 Bruno Haible <haible@clisp.cons.org>
140
141 * gprof.c (main): For gettext, also set the LC_CTYPE locate facet.
142 * sym_ids.c: Include "safe-ctype.h" instead of <ctype.h>.
143 (parse_spec): Use ISDIGIT instead of isdigit.
144
145 2001-09-18 Alan Modra <amodra@bigpond.net.au>
146
147 * sparc.c (sparc_find_call): Warning fix.
148 * alpha.c (alpha_find_call): Likewise.
149
150 2001-08-09 Alan Modra <amodra@bigpond.net.au>
151
152 * alpha.c: Add missing prototypes.
153 * sparc.c: Likewise.
154 * tahoe.c: Likewise.
155 * vax.c: Likewise.
156 * i386.c: Likewise.
157 (i386_iscall): Don't use DEFUN.
158
159 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
160
161 * NOTES: Rename to README for consistency with other binutils.
162
163 2001-06-18 H.J. Lu <hjl@gnu.org>
164
165 * Makefile.am (diststuff): Add $(MANS).
166 (gprof.1): Remove the prefix `$(srcdir)/'.
167 * Makefile.in: Regenerated.
168
169 * gprof.1: Removed.
170
171 2001-06-12 Ben Elliston <bje@redhat.com>
172
173 * gprof.texi (File Format): Profile data files are stored in
174 target byte order, not host byte order.
175
176 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
177
178 * gmon_io.c (gmon_io_read, gmon_io_write_vma,
179 gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
180 argument list for K&R C.
181
182 2001-04-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
183
184 * gprof.texi: Put @c man begin and @c man end indications
185 to generate man page using texi2pod and pod2man. Added SEEALSO,
186 SYNOPSIS, BUGS, FILES and DESCRIPTION from original gprof.1
187 enclosed in @ifset man condition.
188 * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
189 Generate gprof.1 from gprof.texi.
190 * gprof.1: Generate from gprof.texi.
191 * Makefile.in: Regenerate.
192
193 2001-03-13 David Mosberger <davidm@hpl.hp.com>
194
195 * hist.c (hist_dimension): Declare as an array of 16 characters.
196 (hist_read_rec): If SAMPLEDEBUG, print each histogram bin count.
197
198 * basic_blocks.c: Whitespace and formatting changes.
199 * bb_exit_func.c: Ditto.
200 * call_graph.c: Ditto.
201 * call_graph.h: Ditto.
202 * cg_arcs.c: Ditto.
203 * cg_print.c: Ditto.
204 * cg_print.h: Ditto.
205 * corefile.c: Ditto.
206 * corefile.h: Ditto.
207 * gmon_io.c: Ditto.
208 * gmon_io.h: Ditto.
209 * gmon_out.h: Ditto.
210 * gprof.c: Ditto.
211 * hist.c: Ditto.
212 * hist.h: Ditto.
213 * i386.c: Ditto.
214 * search_list.c: Ditto.
215 * search_list.h: Ditto.
216 * source.c: Ditto.
217 * source.h: Ditto.
218 * sym_ids.c: Ditto.
219 * sym_ids.h: Ditto.
220 * symtab.c: Ditto.
221 * symtab.h: Ditto.
222 * tahoe.c: Ditto.
223 * utils.c: Ditto.
224 * vax.c: Ditto.
225
226 * gmon_out.h (gmon_hist_hdr): Delete.
227 (gmon_cg_arc_record): Delete.
228
229 * gmon_io.c (put_vma): Declare "static".
230 (get_vma): Ditto.
231 (gmon_io_write): New function.
232 (gmon_io_write_8): Ditto.
233 (gmon_io_write_32): Ditto.
234 (gmon_io_write_vma): Ditto.
235 (gmon_io_read): Ditto.
236 (gmon_io_read_32): Ditto.
237 (gmon_io_read_vma): Ditto.
238 * basic_blocks.c (bb_read_rec): Use gmon_io_read* / gmon_io_write*
239 to read/write data file in a more portable fashion.
240 (bb_write_blocks): Ditto.
241 * call_graph.c (cg_read_rec): Ditto.
242 (cg_write_arcs): Ditto.
243 * hist.c (hist_read_rec): Ditto.
244 (hist_write_hist): Ditto.
245
246 From Jes Sorensen <jes@linuxcare.com>
247 * gmon_out.h: Use GMON_PTR_SIZE instead of sizeof(char*).
248 * gmon.h: Ditto.
249 * configure.in: Get GMON_PTR_SIZE from existing <sys/gmon_out.h>
250 if it exists.
251 * acconfig.h: New file. Mention and document GMON_PTR_SIZE.
252 * gconfig.h: Regenerate.
253 * configure: Regenerate.
254 * Makefile.in: Regenerate.
255
256 2001-02-27 Alan Modra <alan@linuxcare.com.au>
257
258 * configure.in (BFD_VERSION): New.
259 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
260 * configure: Regenerate.
261 * gconfig.in: Regenerate.
262 * Makefile.am: Run "make dep-am"
263 * Makefile.in: Regenerate.
264
265 2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
266
267 * basic_blocks.c: #include <unistd.h> only if it exists.
268
269 2000-11-06 Nick Clifton <nickc@redhat.com>
270
271 * gprof.texi: Add GNU Free Documentation License.
272
273 2000-09-07 H.J. Lu <hjl@gnu.org>
274
275 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
276 * configure: Rebuild.
277
278 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
279
280 * aclocal.m4, configure: Rebuilt with new libtool.m4.
281
282 2000-09-02 Nick Clifton <nickc@redhat.com>
283
284 * configure.in: Increase version number to 2.10.91.
285 * configure: Regenerate.
286 * aclocal.m4: Regenerate.
287 * config.in: Regenerate.
288
289 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
290
291 * acinclude.m4: Include libtool and gettext macros from the
292 top level.
293 * aclocal.m4, configure: Rebuilt.
294
295 2000-07-26 Nick Clifton <nickc@cygnus.com>
296
297 * bb_exit_func.c: Assign copyright to FSF. Note that David
298 Mosberger-Tang <David.Mosberger@acm.org> continuted this code.
299
300 2000-07-24 Nick Clifton <nickc@cygnus.com>
301
302 * basic_blocks.c: Add copyright notice.
303 * basic_blocks.h: Add copyright notice.
304 * call_graph.c: Add copyright notice.
305 * call_graph.h: Add copyright notice.
306 * cg_print.c: Add copyright notice.
307 * cg_print.h: Add copyright notice.
308 * corefile.c: Add copyright notice.
309 * corefile.h: Add copyright notice.
310 * gmon_io.c: Add copyright notice.
311 * gmon_io.h: Add copyright notice.
312 * gmon_out.h: Add copyright notice.
313 * hist.c: Add copyright notice.
314 * hist.h: Add copyright notice.
315 * search_list.c: Add copyright notice.
316 * search_list.h: Add copyright notice.
317 * source.c: Add copyright notice.
318 * source.h: Add copyright notice.
319 * sym_ids.c: Add copyright notice.
320 * sym_ids.h: Add copyright notice.
321 * symtab.c: Add copyright notice.
322 * symtab.h: Add copyright notice.
323
324 2000-07-05 Kenneth Block <krblock@computer.org>
325
326 * gprof.c: Add optional style to demangle switch
327 * gprof.texi: Document optional style to demangle switch.
328
329 2000-06-05 DJ Delorie <dj@redhat.com>
330
331 * MAINTAINERS: new
332
333 2000-07-01 Alan Modra <alan@linuxcare.com.au>
334
335 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
336 (CLEANFILES): Add DEPA.
337 * Makefile.in: Regenerate.
338
339 2000-06-22 Alan Modra <alan@linuxcare.com.au>
340
341 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
342 find one.
343 * Makefile.in: Regenerate.
344
345 2000-06-20 Alan Modra <alan@linuxcare.com.au>
346
347 * source.c (annotate_source): Correct pointer comparison when
348 checking for backslashes.
349
350 2000-06-13 H.J. Lu <hjl@gnu.org>
351
352 * configure: Regenerate.
353
354 2000-06-08 David O'Brien <obrien@FreeBSD.org>
355
356 * configure.in (VERSION): Update to show this is the CVS mainline.
357
358 2000-06-07 Philippe De Muyter <phdm@macqel.be>
359
360 * source.c: Remove direct inclusion of sys/stat.h.
361
362 2000-05-31 Nick Clifton <nickc@cygnus.com>
363
364 * gprof.h (_): Revert previous delta. We want to use gettext,
365 not dgettext in the _ macro.
366
367 2000-05-29 Alan Modra <alan@linuxcare.com.au>
368
369 * gprof.h (_): Use BFD version.
370
371 2000-05-26 Nick Clifton <nickc@cygnus.com>
372
373 * gprof.c (main): When calling getopt_long indicate that the 'd'
374 switch takes an optional argument, whereas the 'D' switch takes no
375 argument at all.
376
377 2000-05-26 Alan Modra <alan@linuxcare.com.au>
378
379 * dep-in.sed: Copy from ../binutils.
380 * Makefile.am: Update dependencies with "make dep-am"
381 * Makefile.in: Regenerate.
382
383 * gprof.h: Remove most nls defines. They are pulled in by
384 bfd/sysdep.h. #include "ansidecl.h" not <ansidecl.h>
385
386 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
387
388 * gprof.texi: Fix numerous typos. Mention some DOS/Windows related
389 issues.
390
391 * configure.in: Check for setmode function.
392 * configure: Regenerate.
393
394 * gmon_io.h (SET_BINARY) [HAVE_SETMODE]: Define.
395
396 * gmon_io.c (gmon_out_read) [SET_BINARY]: Switch stdin into binary
397 mode.
398
399 * source.c: Include filenames.h and sys/stat.h.
400 (source_file_lookup_path, source_file_lookup_name): Use
401 FILENAME_CMP to compare file names.
402 (annotate_source) [__MSDOS__]: If "filename-ann" would overwrite
403 "filename", replace the extension with ".ann".
404 [HAVE_DOS_BASED_FILE_SYSTEM]: Support file names with
405 backslashes and drive letters.
406 Use IS_ABSOLUTE_PATH.
407
408 * search_list.h (PATH_SEP_CHAR): Define.
409
410 * search_list.c (search_list_append): Use PATH_SEP_CHAR.
411
412 * hertz.c (HERTZ) [__MSDOS__]: Don't define unless they have
413 neither HAVE_SETITIMER nor HAVE_SYSCONF.
414 [HAVE_SETITIMER]: If they define both HAVE_SETITIMER and
415 HAVE_SYSCONF, try setitimer and fall back on sysconf.
416
417 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
418
419 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
420 --enable-build-warnings option.
421 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
422 * Makefile.in, configure, aclocal.m4: Re-generate.
423
424 2000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
425
426 * gprof.c (copyright): Do not use N_ in array initializer.
427
428 2000-04-04 Alan Modra <alan@linuxcare.com.au>
429
430 * po/gprof.pot: Regenerate.
431
432 * gprof.c (usage): Restore translated part of bug string.
433
434 * Makefile.am (BASEDIR): Define.
435 (BFDDIR): Define.
436 (INCDIR): Define.
437 (MKDEP): Define.
438 (INCLUDES): Add "-I."
439 (DEP, DEP1, dep.sed, dep, dep-in, dep-am): New targets.
440 (CLEANFILES): Define.
441 Update dependencies.
442 * Makefile.in: Regenerate.
443
444 2000-04-03 Alan Modra <alan@linuxcare.com.au>
445
446 * gprof.h: #include "bin-bugs.h".
447 * gprof.c (usage): Use REPORT_BUGS_TO.
448
449 2000-03-31 Alan Modra <alan@linuxcare.com.au>
450
451 * symtab.c (symtab_finalize): Don't use post-increment on
452 structure copy, to work around a ppc gcc bug.
453
454 1999-09-29 Mark Kettenis <kettenis@gnu.org>
455
456 * hertz.h [MACH] (hertz): Remove macro. The
457 <machine/mach_param.h> include doesn't exist on al Mach based
458 systems, and the definition of hertz breaks compilation of hertz.c
459 anyway.
460
461 2000-02-22 Ian Lance Taylor <ian@zembu.com>
462
463 From Brad Lucier <lucier@math.purdue.edu>:
464 * i386.c (i386_find_call): Add cast to ensure that printf argument
465 matches format.
466 * tahoe.c (tahoe_find_call): Likewise.
467 * vax.c (vax_find_call): Likewise.
468
469 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
470
471 * utils.c (print_name_only): Don't pass error strings to
472 printf as format arg.
473
474 1999-09-24 Nick Clifton <nickc@cygnus.com>
475
476 * gmon_io.c (gmon_out_read): Make sure that sensible values
477 are extracted from a raw header.
478
479 1999-08-06 Ian Lance Taylor <ian@zembu.com>
480
481 From Brad Lucier <lucier@math.purdue.edu>:
482 * corefile.c (core_create_line_syms): Add cast for printf.
483
484 1999-07-21 Ian Lance Taylor <ian@zembu.com>
485
486 From Mark Elbrecht:
487 * configure.bat: Remove; obsolete.
488
489 1999-07-15 Ian Lance Taylor <ian@zembu.com>
490
491 * configure.in: Bump version number to 2.9.5.
492 * configure: Rebuild.
493
494 1999-07-11 Ian Lance Taylor <ian@zembu.com>
495
496 * corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.
497 * sym-ids.c (non_existent_file): Fully initialize structure.
498
499 1999-07-01 Ian Lance Taylor <ian@zembu.com>
500
501 * Many files: Add casts in many print statements to cast bfd_vma
502 values to unsigned long when calling printf.
503 * Makefile.am ($(OBJECTS)): Add gmon.h.
504 * Makefile.in: Rebuild.
505
506 Mon Jun 14 10:35:28 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
507
508 * gprof.texi: Fix typo.
509
510 1999-06-13 Ian Lance Taylor <ian@zembu.com>
511
512 From Bob Byrnes <byrnes@curl.com>:
513 * cg_dfn.c: Include "libiberty.h"
514 (DFN_INCR_DEPTH): Define instead of DFN_DEPTH.
515 (dfn_stack): Define as pointer rather than array.
516 (pre_visit): Reallocate dfn_stack as needed.
517
518 1999-04-26 Tom Tromey <tromey@cygnus.com>
519
520 * aclocal.m4, configure: Updated for new version of libtool.
521
522 1999-04-06 Ian Lance Taylor <ian@zembu.com>
523
524 * gprof.h (LC_MESSAGES): Never define.
525 * gprof.c (main): Don't pass LC_MESSAGES to setlocale if the
526 system does not define it.
527
528 1999-04-05 H.J. Lu <hjl@gnu.org>
529
530 * corefile.c (core_create_line_syms): Don't use fixed size array
531 for prev_name and prev_filename.
532
533 1999-04-04 Michael Hohmuth <hohmuth@innocent.com>
534
535 * gprof.h (FF_BSD44): Define.
536 * gmon.h (struct raw_phdr): Add version, profrate, and spare
537 fields unconditionally.
538 (struct old_raw_phdr): New struct.
539 * gprof.c (main): Handle -O 4.4bsd.
540 * gmon_io.c (gmon_out_read): Handle BSD 4.4 format, either
541 automatically or by user specification.
542 (gmon_out_write): Handle BSD 4.4 format.
543 * configure.in: Don't set BSD44_FORMAT.
544 * gprof.texi (Miscellaneous Options): Document -O 4.4bsd.
545 * configure, gconfig.in: Rebuild.
546
547 Tue Feb 16 17:01:33 1999 Ian Lance Taylor <ian@cygnus.com>
548
549 * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL
550 to AC_PROG_INSTALL. Remove AM_CYGWIN32. Change AM_EXEEXT to
551 AC_EXEEXT. Add comment to AC_DEFINE.
552 * acconfig.h: Remove.
553 * aclocal.m4: Rebuild.
554 * configure: Rebuild.
555 * Makefile.in: Rebuild.
556 * gconfig.in: Rebuild.
557
558 Sun Dec 6 21:57:50 1998 Ian Lance Taylor <ian@cygnus.com>
559
560 * gprof.texi (Symspecs): Mention that you have to add any
561 underscore yourself when naming a symbol.
562
563 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
564
565 * configure.in: detect cygwin* instead of cygwin32*
566 * configure: regenerate
567
568 Wed Aug 12 14:59:06 1998 Ian Lance Taylor <ian@cygnus.com>
569
570 Avoid some overflow cases:
571 * basic_blocks.h (bb_min_calls): Change to unsigned long.
572 * call_graph.h (cg_tally): Change count parameter to unsigned
573 long.
574 * cg_arcs.h (Arc): Change count field to unsigned long.
575 (arc_add): Change count parameter to unsigned long.
576 * source.h (Source_File): Change ncalls field to unsigned long.
577 * symtab.h (Sym): Change fields ncalls, bb_calls, and
578 cg.self_calls to unsigned long.
579 * Many files: Update accordingly.
580
581 * configure, Makefile.in, aclocal.m4: Rebuild with current tools.
582
583 Fri Jul 10 17:29:49 1998 Stan Cox <scox@equinox.cygnus.com>
584
585 * configure.in (BSD44_FORMAT): Define for cygwin32, win32, mingw32
586 * configure: Rebuild.
587
588 Fri Jun 12 13:40:05 1998 Tom Tromey <tromey@cygnus.com>
589
590 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
591 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
592
593 Sun May 10 22:35:33 1998 Jeffrey A Law (law@cygnus.com)
594
595 * po/Make-in (install-info): New target.
596
597 Tue May 5 18:28:40 1998 Tom Tromey <tromey@cygnus.com>
598
599 * gprof.h (_): Undefine BFD's version.
600
601 Tue Apr 28 19:17:33 1998 Tom Tromey <tromey@cygnus.com>
602
603 * gprof.c (main): Conditionally call setlocale.
604 * gprof.h: Include <locale.h> if HAVE_LOCALE_H.
605 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
606
607 Tue Apr 28 19:50:09 1998 Ian Lance Taylor <ian@cygnus.com>
608
609 * corefile.c: Rename from core.c.
610 * corefile.h: Rename from core.h.
611 * Many .c files: Include corefile.h rather than core.h.
612 * Makefile.am (sources): Change core.c to corefile.c.
613 (noinst_HEADERS): Change core.h to corefile.h.
614 ($(OBJECTS)): Depend upon corefile.h rather than core.h.
615 (corefile.o): Rename target from core.o, depend upon corefile.c.
616 * Makefile.in, po/POTFILES.in: Rebuild.
617
618 Mon Apr 27 16:50:40 1998 Ian Lance Taylor <ian@cygnus.com>
619
620 * configure.in: Change version number to 2.9.4
621 * configure: Rebuild.
622
623 Wed Apr 22 16:01:17 1998 Tom Tromey <tromey@cygnus.com>
624
625 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
626
627 Wed Apr 22 00:00:22 1998 Tom Tromey <tromey@scribbles.cygnus.com>
628
629 * gprof.h: Added includes and defines for gettext.
630 * configure.in (ALL_LINGUAS): New macro.
631 Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile.
632 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
633 HAVE_LC_MESSAGES): Define.
634 * gprof.c (main): Call setlocale, bindtextdomain, textdomain.
635 * Makefile.am (SUBDIRS): New macro.
636 (INCLUDES): Look in intl dirs for headers. Define LOCALEDIR.
637 (gprof_DEPENDENCIES): Added INTLDEPS.
638 (gprof_LDADD): Added INTLLLIBS.
639 (POTFILES): New macro.
640 (po/POTFILES.in): New target.
641 * Many files: Wrap user-visible strings with gettext invocation.
642
643 Tue Apr 7 12:43:37 1998 Ian Lance Taylor <ian@cygnus.com>
644
645 From hjl@lucon.org <H.J. Lu>:
646 * Makefile.am (diststuff): New target.
647 * Makefile.in: Rebuild.
648
649 Mon Mar 30 12:47:48 1998 Ian Lance Taylor <ian@cygnus.com>
650
651 * configure.in: Set version to 2.9.1.
652 * configure: Rebuild.
653
654 * Branched binutils 2.9.
655
656 Sat Mar 28 23:09:08 1998 Ian Lance Taylor <ian@cygnus.com>
657
658 Fix some gcc -Wall warnings:
659 * cg_arcs.c (num_cycles): Change to unsigned int.
660 (numarcs): Likewise.
661 (arc_add): Change maxarcs to unsigned int.
662 (cg_assemble): Change index to unsigned int.
663 * cg_arcs.h (num_cycles, numarcs): Update declarations.
664 * cg_print.c (cg_print): Change index to unsigned int.
665 (cg_print_index): Change index, nnames, todo, i, and j to unsigned
666 int.
667 (cg_print_file_ordering): Change symbol_count and index2 to
668 unsigned int.
669 * core.c (symbol_map_count): Change to unsigned int.
670 (core_create_function_syms): Change j to unsigned int.
671 (core_create_line_syms): Add cast to avoid warning.
672 * hist.c (hist_assign_samples): Change j to unsigned int.
673 (hist_print): Change index to unsigned i nt. Add cast to avoid
674 warning.
675 * sym_ids.c (parse_spec): Add casts to avoid warning.
676 * symtab.c (symtab_finalize): Change j to unsigned int.
677 (sym_lookup): Update printf format strings.
678 * symtab.h (Sym_Table): Change len to unsigned int.
679 * tahoe.c (tahoe_reladdr): Add casts to avoid warnings.
680
681 Tue Mar 24 19:00:11 1998 Ian Lance Taylor <ian@cygnus.com>
682
683 Add --demangle and --no-demangle options:
684 * gprof.h (demangle): Declare.
685 * gprof.c (demangle): New global variable.
686 (OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define.
687 (long_options): Add "demangle" and "no-demangle".
688 (usage): Mention --demangle and --no-demangle.
689 (main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE.
690 * utils.c (print_name_only): Only demangle symbol name if demangle
691 is true.
692 * gprof.texi (Output Options): Document new options.
693
694 Fri Mar 20 19:21:56 1998 Ian Lance Taylor <ian@cygnus.com>
695
696 * Makefile.in: Rebuild with automake 1.2e.
697 * aclocal.m4, configure: Rebuild with libtool 1.2.
698
699 Thu Feb 12 14:36:05 1998 Ian Lance Taylor <ian@cygnus.com>
700
701 * gprof.c (usage): Update bug-gnu-utils address.
702
703 Sat Feb 7 15:43:12 1998 Ian Lance Taylor <ian@cygnus.com>
704
705 * configure, aclocal.m4: Rebuild with new libtool.
706
707 Fri Feb 6 12:02:28 1998 Ian Lance Taylor <ian@cygnus.com>
708
709 * alpha.c (alpha_Instruction): Use int, not signed.
710
711 Fri Feb 6 02:00:19 1998 Jeffrey A Law (law@cygnus.com)
712
713 * core.c (core_init): Adding missing "break".
714
715 Thu Feb 5 12:49:37 1998 Ian Lance Taylor <ian@cygnus.com>
716
717 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
718
719 Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
720
721 * bbconv.pl: New file.
722 * Makefile.am (EXTRA_DIST): Add bbconv.pl.
723 * Makefile.in: Rebuild.
724
725 * gprof.texi: Extensive additions to document all arguments and
726 output formats.
727
728 * symtab.c (symtab_finalize): Prefer function symbols over line
729 symbols.
730 (dbg_sym_lookup): Correct debugging messages.
731
732 * gprof.c (main): --sum implies --line.
733
734 * cg_print.c (cg_print): When doing line by line profiling, don't
735 use a non-function as a main listing item.
736
737 * call_graph.c (cg_tally): When using line by line profiling, use
738 the function symbol as the child.
739
740 * symtab.h (NBBS): Define.
741 (Sym): Add bb_addr and bb_calls fields.
742 * basic_blocks.c (bb_read_rec): Save multiple basic blocks per
743 symbol.
744 (bb_write_blocks): Adjust for multiple basic blocks per symbol.
745 (print_exec_counts): Don't check whether a symbol is the start of
746 a basic block. Print all basic blocks for a symbol.
747 (annotate_with_count): Rewrite to print all basic block counts and
748 to pay attention to width argument.
749 (print_annotated_source): Don't check whether symbol is the start
750 of a basic block.
751
752 Make it possible to build a cross gprof, although a few cases are
753 still not handled:
754 * configure.in: Don't set MY_TARGET.
755 * gprof.h: Don't include MACHINE_H. Don't define FOPEN_RB or
756 FOPEN_WB; just get them from sysdep.h.
757 * core.h (min_insn_size, offset_to_code): Declare.
758 * core.c (MIN_INSN_SIZE): Don't define.
759 (min_insn_size, offset_to_code): New variables.
760 (core_init): Initialize min_insn_size and offset_to_code.
761 (find_call): New function.
762 (core_create_line_syms): Don't use min_dist. Set is_static in
763 pass 2.
764 * hist.c (UNITS_TO_CODE): Define.
765 * gprof.c (default_excluded_list): Add "__mcount_internal".
766 * gmon.h: Change TARGET_alpha to __alpha__.
767 * hertz.h: Ifdef MACH, define hertz as HZ.
768 * alpha.c (alpha_Instruction): Rename from Instruction. Change
769 all references.
770 (alpha_find_call): Rename from find_call.
771 * alpha.h: Remove.
772 * dummy.c, dummy.h: Remove.
773 * i386.c (i386_iscall): Rename from iscall. Change all
774 references. Check for call instruction, not jump or lcall.
775 (i386_find_call): Rename from find_call. Correct for VMA.
776 Correct call destination computation. Don't dereference symbol if
777 it is NULL.
778 * i386.h: Remove.
779 * ns532.c, ns532.h: Remove.
780 * sparc.c (CALL): Define.
781 (sparc_find_call): Rename from find_call.
782 * sparc.h: Remove.
783 * tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h. Don't
784 include time_host.h.
785 (CALLF, PC): Define.
786 (enum tahoe_opermodes, tahoe_operandenum): Define. Rename all
787 references to opermodes or operandenum to these.
788 (tahoe_operandmode): Rename from operandmode. Call abort if
789 switch does not return.
790 (tahoe_operandname): Rename from operandname. Call abort if
791 switch does not return.
792 (tahoe_operandlength): Rename from operandlength. Call abort if
793 switch does not return.
794 (tahoe_reladdr): Rename from reladdr.
795 (tahoe_find_call): Rename from find_call. Use core_text_space
796 rather than textspace.
797 * tahoe.h: Remove.
798 * vax.c (CALLS, PC): Define.
799 (enum opermodes, operandenum, struct modebyte): Define.
800 (vax_operandmode): Rename from operandmode. Call abort if switch
801 does not return.
802 (vax_operandname): Rename from operandname. Call abort if switch
803 does not return.
804 (vax_operandlength): Rename from operandlength. Call abort if
805 switch does not return.
806 (vax_reladdr): Rename from reladdr.
807 (vax_find_call): Rename from find_call.
808 * vax.h: Remove.
809 * Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus.
810 (MY_TARGET): Remove.
811 (INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H=
812 \"$(MY_TARGET).h\".
813 (gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c.
814 (gprof_DEPENDENCIES): Remove $(MY_TARGET).o.
815 (gprof_LDADD): Likewise.
816 (noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h,
817 tahoe.h, vax.h, dummy.h.
818 (EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c,
819 vax.c, dummy.c.
820 ($(OBJECTS)): Don't depend upon $(MY_TARGET).h.
821 ($(MY_TARGET).o): Remove target.
822 (i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets.
823 * configure, Makefile.in, aclocal.m4: Rebuild.
824
825 Mon Dec 29 14:17:08 1997 Ian Lance Taylor <ian@cygnus.com>
826
827 * core.c (core_sym_class): Treat weak symbols as text symbols.
828 From Dean Gaudet <dgaudet@arctic.org>.
829
830 Wed Sep 24 11:35:43 1997 Ian Lance Taylor <ian@cygnus.com>
831
832 * aclocal.m4: Rebuild with new libtool.
833 * Makefile.in: Rebuild with current automake.
834 * configure: Rebuild.
835
836 Sat Aug 9 16:25:01 1997 Ian Lance Taylor <ian@cygnus.com>
837
838 * configure.in: Change version number to 2.8.2. Call
839 AM_PROG_LIBTOOL. Remove shared library handling; now handled by
840 libtool. Add AM_CONFIG_HEADER. Change AC_PROG_INSTALL to
841 AM_PROG_INSTALL. Add AM_EXEEXT.
842 * Makefile.am (LINK): Remove.
843 (gprof_LDFLAGS): Remove
844 (gprof_DEPENDENCIES): Change libbfd.a to libbfd.la.
845 (gprof_LDADD): Likewise.
846 ($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h.
847 * gprof.h: Undefine PACKAGE and VERSION after including BFD
848 sysdep.h file, then include new gconfig.h file.
849 * gprof.c (VERSION): Don't define.
850 * acconfig.h: New file.
851 * stamp-h.in: New file.
852 * gconfig.in: New file, created by autoheader.
853 * Makefile.in, configure, aclocal.m4: Rebuild.
854
855 Sat Jun 28 23:20:42 1997 Ian Lance Taylor <ian@cygnus.com>
856
857 * aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2.
858
859 Mon Jun 16 15:31:39 1997 Ian Lance Taylor <ian@cygnus.com>
860
861 * Makefile.am (INCLUDES): Add -DDEBUG.
862 * Makefile.in: Rebuild.
863
864 Tue Apr 15 14:19:30 1997 Ian Lance Taylor <ian@cygnus.com>
865
866 Change to use automake:
867 * Makefile.am: New file.
868 * configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and
869 AM_CYGWIN32.
870 * aclocal.m4: New file, created by aclocal.
871 * Makefile.in: Replace with file created by automake --cygnus.
872 * configure: Rebuild.
873
874 Thu Apr 3 13:21:25 1997 Ian Lance Taylor <ian@cygnus.com>
875
876 * gprof.c (VERSION): Define as "2.8.1".
877
878 * Branched binutils 2.8.
879
880 Thu Mar 27 17:15:23 1997 Ian Lance Taylor <ian@cygnus.com>
881
882 * gprof.c (main): Correct copyright message.
883
884 Mon Mar 24 11:12:26 1997 Ian Lance Taylor <ian@cygnus.com>
885
886 * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.
887 * gmon.h: Use bytes counts rather than sizeof in struct raw_phdr
888 and struct raw_arc.
889
890 Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>
891
892 * cg_arcs.c (arc_add): memset() newly alloced arc to ensure
893 all fields are initialized with 0.
894
895 Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>
896
897 * symtab.h (find_call): Declare.
898 * cg_arcs.c (cg_assemble): Don't declare find_call.
899 * hist.c (scale_and_align_entries): Declare.
900
901 Thu Feb 27 12:46:53 1997 Ian Lance Taylor <ian@cygnus.com>
902
903 * configure.in: Define BSD44_FORMAT if the target looks like a
904 BSD4.4 derived system.
905 * configure: Rebuild.
906 * Makefile.in (.c.o): Add @DEFS@.
907 * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
908 from profrate field, not version field.
909
910 Thu Jan 16 17:42:54 1997 Ian Lance Taylor <ian@cygnus.com>
911
912 * dummy.c (find_call): Clear ignore_direct_calls.
913
914 Tue Dec 31 15:44:10 1996 Ian Lance Taylor <ian@cygnus.com>
915
916 * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the
917 end.
918 (gprof): Put $(CFLAGS) after the other options.
919
920 Tue Nov 26 17:08:38 1996 Ian Lance Taylor <ian@cygnus.com>
921
922 * configure: Rebuild with autoconf 2.12.
923
924 Wed Oct 2 15:23:16 1996 Ian Lance Taylor <ian@cygnus.com>
925
926 * sparc.c (find_call): Align p_lowpc to avoid bus error.
927
928 Tue Oct 1 15:58:10 1996 Ian Lance Taylor <ian@cygnus.com>
929
930 * gprof.c (usage): Print bug report address.
931 (main): Change version printing to match current GNU standards.
932
933 Fri Aug 30 12:16:11 1996 Ian Lance Taylor <ian@cygnus.com>
934
935 * gmon.h: Replace #elif with #else/#endif.
936
937 Thu Aug 29 17:04:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
938
939 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
940 * configure: Regenerate.
941
942 Thu Aug 22 17:12:30 1996 Ian Lance Taylor <ian@cygnus.com>
943
944 * configure.in: Set and substitute HLDENV.
945 * configure: Rebuild.
946 * Makefile.in (HLDENV): New variable.
947 (gprof): Use $(HLDENV).
948
949 Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
950
951 * core.c (read_function_mappings): Cast xmalloc return.
952
953 Thu Jul 4 12:01:42 1996 Ian Lance Taylor <ian@cygnus.com>
954
955 * gprof.c (VERSION): Define as "2.7.1".
956
957 * Released binutils 2.7.
958
959 * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
960 stored on a System V file system.
961
962 Thu Jun 27 11:36:22 1996 Ian Lance Taylor <ian@cygnus.com>
963
964 * configure.in: Call AC_ISC_POSIX.
965 * configure: Rebuild.
966 * Makefile.in (gprof): Pass $(CFLAGS) during link.
967 * hertz.c: Don't include <sys/time.h>; let sysdep.h handle that.
968 If HAVE_SETITIMER is not defined, try using sysconf.
969
970 Mon Jun 24 18:27:28 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
971
972 * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,
973 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
974 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
975 (AC_PROG_INSTALL): added.
976 * configure: Rebuilt.
977
978 Mon Jun 24 12:03:09 1996 Ian Lance Taylor <ian@cygnus.com>
979
980 * configure.in: On alpha*-*-osf*, link against libbfd.a if not
981 using shared libraries.
982 * configure: Rebuild with autoconf 2.10.
983
984 Tue Jun 18 17:35:58 1996 Ian Lance Taylor <ian@cygnus.com>
985
986 * core.c (core_create_line_syms): Use xstrdup rather than strdup.
987 * source.c (source_file_lookup_path): Likewise.
988
989 Mon Apr 8 14:44:33 1996 Ian Lance Taylor <ian@cygnus.com>
990
991 * configure.in: Permit --enable-shared to specify a list of
992 directories.
993 * configure: Rebuild.
994
995 Thu Mar 21 17:18:25 1996 Ian Lance Taylor <ian@cygnus.com>
996
997 * core.c (core_create_function_syms): Move filename and func_name
998 inside ifdef where they are used.
999
1000 * core.c (core_sym_class): Parenthesize && within ||.
1001 * symtab.c (symtab_finalize): Correct parenthesization.
1002
1003 * cg_print.h (cg_print_file_ordering): Declare.
1004 (cg_print_function_ordering): Declare.
1005
1006 * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy.
1007 * cg_arcs.c (arc_add): Likewise.
1008 * cg_print.c (cg_print_function_ordering): Likewise.
1009
1010 Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
1011
1012 * gprof.c (default_excluded_list): Add "__mcount".
1013
1014 * gprof.c (main): Change ifdef __osf__ to __alpha__.
1015
1016 * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the
1017 profiling rate from the header.
1018
1019 * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and
1020 __osf__ are defined. Add new fields if BSD44_FORMAT is defined.
1021
1022 * alpha.h (MIN_INSN_SIZE): Define.
1023 * core.c (MIN_INSN_SIZE): If not defined, define as 1.
1024 (core_sym_class): Ignore debugging symbols.
1025 (core_create_line_syms): Use MIN_INSN_SIZE when gathering line
1026 information.
1027
1028 Wed Mar 20 18:15:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1029
1030 * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled
1031 as __GNU_C__.
1032 (order_and_dump_functions_by_arcs): Likewise.
1033
1034 Tue Mar 12 12:19:50 1996 Ian Lance Taylor <ian@cygnus.com>
1035
1036 * configure: Rebuild with autoconf 2.8.
1037
1038 Sun Feb 18 15:06:18 1996 Ian Lance Taylor <ian@cygnus.com>
1039
1040 * configure.in: Check for 'do not mix' from native linker before
1041 trying to use -rpath.
1042 * configure: Rebuild.
1043
1044 Tue Feb 13 15:32:53 1996 Ian Lance Taylor <ian@cygnus.com>
1045
1046 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
1047 * configure: Rebuild.
1048
1049 Wed Feb 7 14:03:17 1996 Ian Lance Taylor <ian@cygnus.com>
1050
1051 * configure.in: Don't set CC. Look for --enable-shared. Set
1052 BFDLIB and HLDFLAGS and substitute them.
1053 * configure: Rebuild.
1054 * Makefile.in (LIBS): Use @BFDLIB@.
1055 (HLDFLAGS): New variable.
1056 (gprof): Use $(HLDFLAGS).
1057
1058 Mon Feb 5 16:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
1059
1060 Support for building bfd and opcodes as shared libraries, based on
1061 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
1062 * Makefile.in (LIBDEPS): New variable.
1063 (LIBS): Use -L../bfd -lbfd.
1064 (gprof): Depend upon $(LIBDEPS) rather than $(LIBS).
1065
1066 Sat Dec 30 10:11:03 1995 Jeffrey A Law (law@cygnus.com)
1067
1068 * gprof.c (long_options): Add "--function-ordering" and
1069 "--file-ordering" options.
1070 (usage): Add new options to usage message.
1071 (main): Handle new options.
1072 * gprof.h (STYLE_FUNCTION_ORDER): Define.
1073 (STYLE_FILE_ORDER): Define.
1074 (function_mapping_file): Declare.
1075 * cg_arcs.c (arcs, numarcs): New globals.
1076 (arc_add): Put new arcs into the arc array so the function/file
1077 ordering code can examine them.
1078 * cg_arcs.h (struct arc): New field "has_been_placed".
1079 (arcs, numarcs): Declare new globals.
1080 * core.c (symbol_map, symbol_map_count): New globals.
1081 (read_function_mappings): New function to read in a function
1082 to object map file.
1083 (core_init): Call read_function_mappings if a function mapping
1084 file exists.
1085 (core_create_function_syms): Handle function to object file
1086 mappings.
1087 * symtab.h (struct sym): New fields "mapped", "has_been_placed",
1088 "nuses", "prev".
1089 * cg_print.c (cmp_arc_count): New function for sorting arcs.
1090 (cmp_fun_nuses): Likewise for functions.
1091 (cg_print_function_ordering): New function to print a suggested
1092 function ordering.
1093 (cg_print_file_ordering): Likewise for ordering .o files.
1094 (order_and_dump_functions_by_arcs): Helper function for function
1095 and object file ordering code.
1096
1097 Sun Dec 24 21:32:27 1995 Jeffrey A Law (law@cygnus.com)
1098
1099 * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
1100 set if ignore_non_function is set.
1101 * gprof.h (ignore_non_functions): Declare.
1102 * gprof.c (ignore_non_functions): Define.
1103 (long_options): Add "ignore-non-functions".
1104 (usage): Add new options.
1105 (main): Recognize "-D" and "--ignore-non-functions" option.
1106
1107 Tue Nov 21 13:24:39 1995 Ken Raeburn <raeburn@cygnus.com>
1108
1109 * Makefile.in (.m.c): Strip out directory name from function
1110 name.
1111
1112 * hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do
1113 UNITS_TO_CODE adjustment unconditionally; compiler can optimize
1114 away zero-offset case. Refer to scaled_addr, not aligned_addr.
1115
1116 * vax.c: Don't include vax.h here.
1117
1118 Thu Nov 16 03:41:37 1995 Ken Raeburn <raeburn@cygnus.com>
1119
1120 Version 2.6 released.
1121
1122 Wed Nov 8 11:40:04 1995 Ian Lance Taylor <ian@cygnus.com>
1123
1124 * gprof.c (main): Cast getenv return value.
1125
1126 Mon Nov 6 15:05:00 1995 Ken Raeburn <raeburn@cygnus.com>
1127
1128 * Makefile.in (TAGS): New target.
1129
1130 Wed Nov 1 12:51:21 1995 Per Bothner <bothner@kalessin.cygnus.com>
1131
1132 * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion.
1133 (all): Depend on $(GEN_FILES), not diststuff (which also depends
1134 on info).
1135
1136 Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
1137
1138 * sym_ids.c: Include <ctype.h>.
1139
1140 Wed Oct 25 13:24:31 1995 Per Bothner <bothner@kalessin.cygnus.com>
1141
1142 * Makefile.in (diststuff): Also make info.
1143 (mostlyclean): Don't remove gprof.info*.
1144 (maintainer-clean realclean): Also remove *.info*.
1145
1146 Fri Oct 6 16:25:32 1995 Ken Raeburn <raeburn@cygnus.com>
1147
1148 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1149
1150 * Makefile.in: Add dependecies for $(OBJS) on header files.
1151
1152 * cg_print.c (print_cycle, print_members, cg_print_index): Fix new
1153 style output format to make it consistent.
1154 * dummy.c (find_call): Fix typo in error message.
1155
1156 Wed Sep 20 13:21:02 1995 Ian Lance Taylor <ian@cygnus.com>
1157
1158 * Makefile.in (maintainer-clean): New target, synonym for
1159 realclean.
1160
1161 Fri Sep 8 14:38:08 1995 Ian Lance Taylor <ian@cygnus.com>
1162
1163 * Makefile.in (install): Don't install in $(tooldir).
1164
1165 Fri Aug 25 15:30:05 1995 Ken Raeburn <raeburn@cygnus.com>
1166
1167 NS32K changes from Ian Dall:
1168 * configure.in: Use ns32k, not ns532.
1169 * ns532.c: Include symtab.h.
1170 (find_call): Renamed from findcall. Print a message.
1171 * ns532.h: Remove dummy.h comments.
1172
1173 Tue Aug 22 10:00:45 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1174
1175 * Makefile.in (install): Remove "brokensed" hack, unnecessary now
1176 that we're using autoconf.
1177
1178 Wed Jul 19 18:46:13 1995 Fred Fish <fnf@cygnus.com>
1179
1180 * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
1181 to proper type of "unsigned int *".
1182
1183 Fri Jun 16 15:29:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1184
1185 * configure.in: Use changequote around use of [].
1186
1187 Mon Jun 12 12:14:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1188
1189 * Makefile.in (distclean, realclean): Remove config.cache and
1190 config.log.
1191
1192 Wed May 17 17:56:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1193
1194 * Makefile.in (Makefile): Added config.status to dependency list.
1195 (config.status): New target.
1196 (SHELL): New definition.
1197
1198 Tue Apr 25 21:11:12 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1199
1200 * Makefile.in (install): Depend on "all".
1201
1202 Thu Apr 20 17:29:07 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1203
1204 * Makefile.in: Change all references to MY_MACHINE to MY_TARGET,
1205 to match configure script.
1206
1207 Wed Apr 19 11:19:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1208
1209 * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
1210 comment emitted by this script to gen-c-prog.awk.
1211
1212 * Makefile.in, configure.in: Converted to use autoconf.
1213 * configure: New file, generated with autoconf 2.3.
1214 * config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
1215 mt-tahoe, mt-vax}: Removed.
1216
1217 Mon Mar 13 21:44:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1218
1219 * __bb_exit_func.c: New file, from David Mosberger-Tang.
1220
1221 Thu Feb 9 16:56:07 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
1222
1223 * All *.c: More cleanup towards GNU format.
1224
1225 * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record):
1226 replaced sizeof (bfd_vma) by size (char*) because Ken tells me
1227 that bfd_vma is only guaranteed to be at least as big as a pointer.
1228
1229 (GMON_Record_tag): added explicit enumeration values to ensure
1230 compatibility across compilers.
1231
1232 * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by
1233 sizeof(char*).
1234
1235 Tue Feb 7 17:24:12 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1236
1237 * All *.c and *.h files: Ran "indent -gnu". Cleaned up a couple
1238 of constructs GNU indent couldn't handle. Block comments not yet
1239 rewritten in GNU format.
1240
1241 * gprof.c (VERSION): Changed to 2.6, to get in sync for next
1242 binutils release.
1243
1244 Sun Feb 5 16:19:46 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
1245
1246 * symtab.c (symtab_finalize): ensure globals symbols really
1247 are favored over static ones---even if their name looks less
1248 preferable; this is important for HP-UX; for example, there
1249 is a static label Ltext_something that aliases the global
1250 symbol _start
1251
1252 * hist.c (hist_print): auto-scaling is now in effect for FSF-style
1253 output only; also, auto-scaling is now performed based on
1254 per-call, rather than total execution time, which is what it was
1255 meant to be.
1256
1257 * gprof.h (File_Format): new type.
1258
1259 * gprof.c (VERSION): upped to 2.7---seems to be completely out of
1260 sync with Cygnus version numbers though...
1261
1262 (long_options): renamed --gmon-info to --file-info, --width added,
1263 renamed --old-file-format to --file-format
1264 (main): dito; also added support to read prof files, but as
1265 mon_out_read() is not implemented, it's #ifdef'd out for now
1266
1267 (usage): update to reflect new options.
1268
1269 * gmon_io.c: replaced "old_file_format" by more general
1270 "file_format" option
1271
1272 * gmon.h (struct raw_phdr): fixed declaration for OSF/1.
1273
1274 * core.c (core_sym_class): added back check for __gnu_compiled and
1275 ___gnu_compiled for the benefit of systems without
1276 bfd_find_nearest_line() support
1277
1278 (get_src_info): now the libbfd is fixed, invoke bfd_find_nearest_line()
1279 with section-relative addresses
1280
1281 (core_create_function_syms): get_src_info() calls are currently
1282 enabled for OSF/1 only. It appears to work allright for SunOS
1283 4.1.x as well, but on SPARCs it gets painfully slow with the
1284 current implementation of aout_32_find_nearest_line();
1285 unfortunately, this means that static functions will not have their
1286 filename printed in the call-graph function index; line-level
1287 profiling should still work, but requires some patience
1288
1289 * cg_print.c (cg_print_index): sanitised printing of index when
1290 using FSF-style output; in particular, output width is now controlled
1291 via option --width and the function tries hard to keep columns
1292 aligned even in the presence of (occasional) long names
1293
1294 * NOTES: a first shot at updating the documentation.
1295
1296 Wed Feb 1 19:07:44 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
1297
1298 * core.c (core_create_function_syms): fixed computation of min_vma
1299 and max_vma.
1300
1301 * *.c: removed rcsid.
1302
1303 Tue Jan 31 16:18:18 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1304
1305 * Lots of changes from David Mosberger-Tang:
1306
1307 Tue Oct 25 19:20:14 1994 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
1308
1309 * gprof.c (main): put parentheses around & within &&.
1310
1311 * basic_blocks.c (bb_read_rec): print warning message (once) when
1312 ignoring basic-block execution counts.
1313
1314 * source.c (source_file_lookup_name): corrected second argument to
1315 strcmp().
1316
1317 * hist.c (print_header): merged Fri Oct 21 18:58:02 1994 change by
1318 Ken Raeburn <raeburn@cujo.cygnus.com> from binutils-2.5.1.
1319
1320 * gmon_io.c (gmon_out_read): the output stule STYLE_GMON_INFO is now
1321 supported both for old and new (versioned) gmon.out files. Old
1322 files are identified as version 0.
1323
1324 * gmon.h (struct raw_arc): count field is now sizeof(long) bytes
1325 long (instead of 4) because that is what OSF/1 v3.0 uses.
1326
1327 * core.c: minor fixes and debugging info changes.
1328
1329 Sun Sep 11 18:47:47 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1330
1331 * core.c (core_init): if .text cannot be found, try $CODE$ (the
1332 name of the text-section under HP-UX).
1333
1334 * hist.c (hist_assign_samples): fixed off-by-one bug: highpc
1335 points one past the last sampling bin, so hist_scale should be
1336 computed as "hist_scale /= hist_num_bins", not "hist_scale /=
1337 hist_num_bins - 1".
1338
1339 * gmon_io.c, hist.c, hist.h: renamed hist_num_samples to
1340 hist_num_bins.
1341
1342 * configure.in: added alpha-*-*) for per-target config.
1343
1344 * alpha.c, alpha.h: created.
1345
1346 * gprof.c (default_excluded_list): <locore>, <hicore> added.
1347
1348 * core.c (core_create_function_syms, core_create_line_syms):
1349 explicitly keep two sentinels "<locore>" and "<hicore>" that catch
1350 all addresses outside the text-space. Thus, sym_lookup(&symtab,
1351 addr) continues to guarantee not to return 0 on any address. It
1352 also avoids incorrectly crediting the first/last symbol in the
1353 text-space.
1354
1355 * core.c (core_create_line_syms): always create function symbols
1356 first, then merge in line symbols; this is so that if parts of the
1357 program were compiled without -g, function-level symbols are
1358 available still.
1359
1360 * utils.c (print_name_only): support for print_path added.
1361
1362 * symtab.c (cmp_addr): also use is_func flag in comparison.
1363 (symtab_finalize): return immediately when table empty; now
1364 more careful about getting rid of the right duplicate symbol.
1365
1366 * sparc.c (find_call): many fixes---this function was rather
1367 botched in binutils-2.4 already; it should work again.
1368
1369 * source.c (source_file_lookup_path): PATH is now strdup'ed (it is
1370 not good to rely on get_src_info() to return distinct string
1371 pointers).
1372
1373 * search_list.c (search_list_append): added cast for xmalloc().
1374
1375 * hist.c: added explicit initialization to some of the global
1376 variables; fixed SItab (scales were off by a factor of 10).
1377
1378 * hist.h: include of bfd.h added.
1379
1380 * gprof.c, gprof.h (print_path): added.
1381
1382 * gprof.h (MAX): fixed.
1383
1384 * gmon_out.h: renamed gmon_time_hist_hdr to gmon_hist_hdr.
1385
1386 * gmon_io.c: added some casts to (long) so we can always print as %lx
1387
1388 * core.c (core_get_text_space): fixed to make it work.
1389
1390 * cg_print.c (cg_print_index): added support for print_path option.
1391
1392 * cg_dfn.h (cg_dfn): wrap prototype in PARAMS().
1393
1394 * call_graph.c, gmon_io.c, hist.c: avoid taking address of array
1395 as some compilers complain (e.g., DEC's OSF/1 compiler)
1396
1397 * basic_blocks.c, gmon_io.c, hist.c, source.c, sym_ids.c,
1398 symtab.c: calls to memset() had 2nd and 3rd args reversed.
1399
1400 Sat Sep 10 21:53:13 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1401
1402 * gprof.c: added "_mcount" to default_excluded_list.
1403 (main): if output_style==0 and there is either a histogram or a
1404 call-graph, always generate flat and call-graph, no matter what
1405 line_granularity is set to.
1406
1407 * source.c (source_file_lookup_name): if searching for sf->name
1408 fails, try again with filename obtained after stripping off any
1409 partial path from sf->name.
1410
1411 * gprof.h (SRCDEBUG): added.
1412
1413 * search_list.c (search_list_append): directories were added in wrong
1414 order.
1415
1416 * reimplemented selection mechanism from ground up; it is now possible
1417 to accurately control what gets included/excluded in each of the
1418 output styles; a "symbol-specification" (spec) is the basic means
1419 to select a set of symbols; a spec has the syntax:
1420
1421 spec == (FILENAME:(FUNCNAME|LINE_NUM) | NAME).
1422 arc == spec/spec.
1423
1424 any of the terminal symbols can be empty, in which case they
1425 match anything (wildcards). NAME is interpreted as a FILENAME
1426 if it contains a dot (e.g., foo.c), as LINE_NUM if it starts
1427 with a digit, and as FUNCNAME otherwise.
1428
1429 For example, to get a call-graph display that ignores arcs
1430 from foo() to bar(), you'd say "--no-graph=foo/bar"; to
1431 show only arcs into bar() (no matter what the caller),
1432 you'd say "--graph=/bar"; and to get a call-graph without
1433 any arc info, you'd say "--graph=/"; similarly, to
1434 get a flat profile without mcount, you'd say "--no-flat=mcount"
1435 and to get a flat profile that shows includes all functions
1436 you'd say "--flat=""" (i.e., an empty spec)
1437
1438 * hist.c (hist_print): top_time wasn't initialized to 0.0.
1439
1440 Fri Sep 9 01:10:21 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1441
1442 * gmon_out.h: all headers now declared in terms of characters
1443 to avoid getting into trouble with different compilers introducing
1444 different amount of padding; the code already accessed the fields
1445 through bfd functions, so that didn't have to change.
1446
1447 * hist.c (hist_read_rec, hist_write_rec): added support for
1448 collection pc histograms measuring quantities other than time;
1449 the histogram header now includes a field that specifies the
1450 dimension of the quantity measured by the histogram bins
1451 (normally, this is "seconds", but other meaningful dimensions
1452 include such things as "I-cache misses", "instruction issue stalls"
1453 etc.); there is also a field to specify a one-character
1454 abbreviation for the dimension; in the case of time, this would
1455 be 's'; in most other cases it probably would be '1' (not a physical
1456 dimension).
1457
1458 Thu Sep 8 16:05:08 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1459
1460 * gprof.c, gmon_io.[ch]: BSD_COMPATIBLE is gone and new_file_version
1461 has become old_file_version; gmon_io.c now always supports old-style
1462 gmon.out files; it first tries to read gmon.out as a new version
1463 file, if that fails, it tries to read it in the old format;
1464 although not very likely, it is possible for gprof to mistake an
1465 old-style file as a new one (the first 4 bytes would have to
1466 be "gmon"---including the trailing '\0'); in that case, it is
1467 necessary to specify --old-file-version
1468
1469 * gprof.h: removed dependency on SYSV; the code now always uses
1470 strrchr(), memset(), and memcpy() and does not include either
1471 of string.h or strings.h; this should make gprof compile on
1472 any (Unix) system without configuration (per suggestion of
1473 raeburn@cygnus.com)
1474
1475 * gprof.c (usage): fixed location of --new-file-format option.
1476
1477 * cg_arcs.c (propagate_flags): fixed typo in declaration.
1478
1479 * flat_bl.m: removed formfeed at end of file; the form-feed
1480 is now printed cg_print.c only when necessary.
1481
1482 * major rewrite of gprof---too many changes to mention all of
1483 them. new features:
1484
1485 + -l now requests profiling at the line level (as opposed
1486 to function level); in this mode, gprof creates a "symbol"
1487 (aka name-list entry) for each line of source code, instead
1488 of one per function)
1489
1490 + support for a new gmon.out file format; the new format
1491 consists of a header with a magic and a version number,
1492 followed by a sequence of profile data; profile data
1493 can any of: (a) PC histogram, (b) call-graph arcs, or
1494 (c) basic-block execution counts; the version number makes
1495 it possible to extend gmon.out in a backwards compatible
1496 fashion
1497
1498 + support for tcov style annotated output: if the gmon.out file
1499 contains basic-block execution counts, the user can request
1500 the generation of annotated source files, much like Sun's
1501 tcov used to do
1502
1503 + long options
1504
1505 + new scheme to suppress symbols that aren't function names
1506 (e.g., avoids mistaking a goto label as a function)
1507
1508 + reorganized source code to make it more managable; as a
1509 side effect, gprof now compiles cleanly with "gcc -Wall"
1510
1511 Thu Sep 1 15:46:49 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1512
1513 * gprof.c (funcsymbol): bfd_find_nearest_line() is now used as a
1514 final cross-check to determine whether a static symbol should be
1515 considered as a function-name.
1516
1517 Fri Aug 5 19:32:36 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1518
1519 * gmon_io.c (gmon_out_read): recognize "-" as the filename for
1520 stdin; this is useful if you wanna keep gmon.out files compressed;
1521 this way you can "gzcat" the compressed file into gprof.
1522
1523 * gprof.c: flag_min_count now initialized with 1 instead of 0.
1524
1525 * basic_blocks.c (bb_annotate_source): added support for creating
1526 .tcov files when option flag_annotate_make_files is TRUE.
1527 (annotate_with_count): all counts less than the minimum count
1528 specified by -m are now annotated with hash-marks.
1529
1530 * gprof.c (main): -A is now followed by a string of option chars.
1531
1532 * basic_blocks.c (annotate_with_count): replaced b->count with
1533 cnt.
1534
1535 * source.c: flag_annotate_source replaced by source_lock_map.
1536
1537 * source.h: source_lock_map added.
1538
1539 * gprof.c (main): new command-line syntax: -S simply specifies
1540 which source-files user is interested in; -A requests annotated
1541 source files and -AA requests that all lines in a source file
1542 are annotated.
1543
1544 Thu Aug 4 23:27:03 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1545
1546 * basic_blocks.c (PATH_MAX): if undefined, define as 1024.
1547
1548 * sparc.c, i386.c, tahoe.c, vax.c: added include of "time_hist.h"
1549 so s_lowpc etc. get declared.
1550
1551 * arcs.h (doarcs): created.
1552
1553 * arcs.c: reordered static functions such that they get defined
1554 before use.
1555
1556 * gprof.c (main): added options:
1557 -A: request annotation of all source lines (with -S)
1558 -m: minimum execution count (with default basic-block display)
1559 -N: force new file format (only if BSD_COMPATIBLE is defined)
1560 -S: annotate source file
1561 -t: set table length (with -S)
1562
1563 * Makefile.am (OBJS): added basic_blocks.o call_graph.o gmon_io.o
1564 source.o time_hist.o
1565
1566 Fri Jul 1 15:23:50 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1567
1568 * gprof.c (asgnsamples): computation of "pcl" and "pch" depended
1569 on the fact being able to store a long in a double without loss of
1570 precision; this does not hold on machines with 64 bit longs and 64
1571 bit doubles.
1572
1573 Fri Oct 21 18:58:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1574
1575 * printgprof.c (flatprofheader): Always set totime to 1.0 if not
1576 greater than 0.0. Suggested by Harold Assink
1577 <carlo@sg.tn.tudelft.nl>.
1578
1579 Fri Sep 23 15:06:45 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1580
1581 * printgprof.c (printprof): Use free, not cfree.
1582 (printgprof, printindex): Ditto.
1583
1584 Thu Sep 1 10:40:45 1994 Jeff Law (law@snake.cs.utah.edu)
1585
1586 * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
1587 decls extern to keep native HP compiler quiet.
1588
1589 Tue Aug 30 11:12:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1590
1591 * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
1592 __gnu_compiled, for the benefit of systems which add a leading
1593 underscore.
1594
1595 Wed Aug 24 12:49:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1596
1597 * configure.in: Change i386-*-* to i[345]86-*-*.
1598
1599 Sun Jul 10 00:35:31 1994 Ian Dall (dall@hfrd.dsto.gov.au)
1600
1601 * ns532.c, ns532.h: New Files. ns532 support.
1602
1603 * config/mt-ns532: New File. ns532 support.
1604
1605 * gprof.c: user register int i instead of defaulting the int.
1606 Allows compilation with -Dregister= for debugging.
1607
1608 * configure.in: Add ns532 support.
1609
1610 Thu Jun 23 11:22:41 1994 Jeff Law (law@snake.cs.utah.edu)
1611
1612 * Makefile.in (gprof): Depend on $(LIBS).
1613
1614 Fri May 27 12:24:57 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1615
1616 From binutils-2.4 release:
1617
1618 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
1619
1620 * configure.bat: [new] build makefile from makefile.in (dos)
1621 * hertz.c: allow static HERTZ (msdos needs it)
1622 * gprof.c: allow target to select "r" or "rb" for fopen
1623 * gprof.c: ignore __gnu_compiled symbols
1624 * i386.h: dfine FOPEN_RB to "rb" for dos.
1625
1626 Tue May 17 15:30:22 1994 E. Michael Smith (ems@cygnus.com)
1627
1628 * Makefile.in (.m.c:): Added .SUFFIXES : .m
1629 so flat_bl.c would make from flat_bl.m file.
1630
1631 Thu May 5 19:23:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1632
1633 * Makefile.in (install-info): Check for gprof.info in build dir,
1634 fall back to srcdir. Depend on it.
1635
1636 * gprof.h (TRUE, FALSE): Always use undef before defining them.
1637
1638 Mon Apr 4 23:47:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1639
1640 * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing
1641 makes (osf1) in which the value of MACHINE can not be changed.
1642 * config/*.mt: Changed appropriately.
1643
1644 Wed Mar 30 16:12:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1645
1646 * gprof.c (getsymtab): Change nosyms to long. Rename
1647 get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for
1648 errors from bfd_get_symtab_upper_bound and
1649 bfd_canonicalize_symtab.
1650
1651 Tue Mar 22 10:50:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1652
1653 * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
1654 bfd_decode_symclass.
1655
1656 Sun Mar 20 15:40:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1657
1658 * Makefile.in: Avoid bug in hpux sed.
1659
1660 Wed Dec 15 20:16:40 1993 david d `zoo' zuhn (zoo@andros.cygnus.com)
1661
1662 * gprof.texi (Invoking): add text about -v flag
1663
1664 * gprof.1: add text about -v flag
1665
1666 Wed Dec 8 16:55:06 1993 david d `zoo' zuhn (zoo@andros.cygnus.com)
1667
1668 * gprof.c (VERSION): defined a version macro, print the value
1669 when the -v option is used
1670
1671 Tue Jul 6 10:11:56 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1672
1673 * Makefile.in: Install correctly.
1674
1675 Thu Jun 24 14:43:22 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1676
1677 * gprof.c (main): Get whoami from argv, instead of hardcoding.
1678 Use it in usage message. Split usage message to fit in 80 cols.
1679
1680 Sun Jun 20 20:58:02 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
1681
1682 * Makefile.in: Undo 15 June change.
1683
1684 Wed Jun 16 12:54:53 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1685
1686 * gmon.h, gprof.h: structs of chars used to hold external
1687 representations.
1688 * gprof.c (getpfile, openpfile, readsamples): Swap data in using
1689 new structures.
1690
1691 Tue Jun 15 23:09:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1692
1693 * Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h.
1694
1695 Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
1696
1697 * Makefile.in: remove parentdir support
1698
1699 Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com)
1700
1701 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
1702 * configure.in: No longer need to configure to get sysdep.h.
1703
1704 Tue May 18 21:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1705
1706 * Makefile.in (install): should not depend on install-info
1707
1708 Mon Apr 26 12:37:46 1993 Ian Lance Taylor (ian@cygnus.com)
1709
1710 * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz.
1711
1712 Tue Apr 13 16:14:03 1993 Per Bothner (bothner@cygnus.com)
1713
1714 * Makefile.in: Add -g to CFLAGS.
1715 Ads LDFLAGS and use in place of CFLAGS where appropriate.
1716 * configure.in: Make a sysdep.hlink in the same way other
1717 bfd-based directories do.
1718 * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned
1719 short'.
1720 * gprof.h: #include sysdep.h instead of a bunch of stuff.
1721 * gprof.c (main): Fix typo gproff->gprof.
1722
1723 Thu Mar 25 19:00:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1724
1725 * gprof.texi: add INFO-DIR-ENTRY
1726
1727 Tue Mar 23 00:03:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1728
1729 * Makefile.in: add installcheck target
1730
1731 Sat Feb 27 18:17:10 1993 Per Bothner (bothner@rtl.cygnus.com)
1732
1733 * gprof.c (funcsymbol): Invert test for aflag.
1734
1735 Thu Feb 25 16:01:50 1993 Per Bothner (bothner@rtl.cygnus.com)
1736
1737 * printgprof (xmalloc, xrealloc): Cast results of malloc
1738 and realloc to PTR.
1739
1740 Wed Feb 3 13:55:33 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
1741
1742 * Makefile.in: created info, install-info, dvi
1743
1744 Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1745
1746 * Makefile.in: fix install rule for $(PROG)
1747
1748 Fri Oct 9 11:25:41 1992 Mark Eichin (eichin@cygnus.com)
1749
1750 * gprof.1: updated SYNOPSIS to match actual behavior.
1751
1752 Mon Oct 5 17:50:16 1992 Per Bothner (bothner@cygnus.com)
1753
1754 * gen-c-prog.awk: New awk script, lightly changed from
1755 previously deleted make-c-prog.awk. Converts a text file
1756 to a c function that prints that text.
1757 * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files.
1758 Inputs to gen-c-prog.awk, containing text describing
1759 gprof output.
1760 * blurbs.c: Removed. Use *_bl.c instead.
1761 * Makefile.in: Use gen-cprog.awk to generate *_bl.c files
1762 from *_bl.m files. Also, improve *clean rules.
1763 * printgprof.c (printgprof): Usw new function names from *_bl.c.
1764
1765
1766 Sun Aug 30 19:54:53 1992 Per Bothner (bothner@rtl.cygnus.com)
1767
1768 * gprof.h, gprof.c, printfgprof.c: Add support for two
1769 output styles: The default is similar to the old FSF gprof,
1770 while -T sets the variable bsd_style_output, which causes
1771 output matching Berkeley's gprof. The biggest differences
1772 are that with the FSF style output, the flat profile comes
1773 before the call graph; numbers come before explanations;
1774 and there is less gratuitous white space.
1775 * gprof.h, gprof.c, printfgprof.c: New discard_underscores
1776 variable causes discarding of initial underscores when
1777 printing symbol names. It is set unless there is a "main"
1778 symbol (without an underscore).
1779 * printfgprof.c: New function printnameonly(), called
1780 by printname(). It handles stripping of initial '_',
1781 as well as C++ name-demangling.
1782 * gprof.callg, gprof.flat, make-c-prog.awk: Removed.
1783 It is just as convenient to edit blurbs.c directly.
1784 * Makefile.in: Removed rule for making blurbs.c.
1785 * blurbs.c: This is now a true source file (as opposed
1786 to being generated from gprof.callg and gprof.flat).
1787 Change style to use one long string literal, instead of
1788 one literal per output line. Add FSF-style blurb for call graph.
1789
1790 Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com)
1791
1792 * Makefile.in: always create installation directories.
1793
1794 Wed Aug 12 15:14:14 1992 Mark Eichin (eichin@cygnus.com)
1795
1796 * Makefile.in: change ${MACHINE} to $(MACHINE).
1797
1798 Sun Jul 19 17:34:01 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1799
1800 * Makefile.in: removed installation of the now useless
1801 call.{flag,callg} files.
1802
1803 * gprof.1: now uses the standard man macros instead of the new BSD
1804 mandoc macros.
1805
1806 Sun Jul 12 19:06:00 1992 John Gilmore (gnu at cygnus.com)
1807
1808 * configure.in: Remove host section, expand target section.
1809 * config/mt-{tahoe,vax}: Add, to match existing support files.
1810 * config/tmake-*: Remove leftover crud.
1811
1812 * blurbs.c: New file, created from gprof.flat and gprof.callg by
1813 * make-c-prog.awk: which processes text files into C programs.
1814 * printgprof.c (flatprofheader, gprofheader): Call new functions
1815 to print blurbs.
1816 (printblurb): Remove.
1817 * Makefile.in: Infrastructure to build blurbs.
1818 * pathnames.h: has been removed. Gprof now has no filename
1819 dependencies in it.
1820 * gprof.c: Lint.
1821
1822 Sat Jul 11 18:07:21 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1823
1824 * Makefile.in: define man1dir and install the man page
1825
1826 Fri Jul 10 21:14:08 1992 david d `zoo' zuhn (zoo@cygnus.com)
1827
1828 * Makefile.in: added dummy info and install-info targets
1829
1830 Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
1831
1832 * lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
1833 help in debugging the problem (with -DDEBUG)
1834 * gprof.c: symbol values are now real values, don't add the vma
1835 anymore. (done for solaris; should verify this on other platforms)
This page took 0.064439 seconds and 5 git commands to generate.