* Many files: Add casts in many print statements to cast bfd_vma
[deliverable/binutils-gdb.git] / gprof / ChangeLog
CommitLineData
fdcf7d43
ILT
11999-07-01 Ian Lance Taylor <ian@zembu.com>
2
3 * Many files: Add casts in many print statements to cast bfd_vma
4 values to unsigned long when calling printf.
5 * Makefile.am ($(OBJECTS)): Add gmon.h.
6 * Makefile.in: Rebuild.
7
a53f781e
AS
8Mon Jun 14 10:35:28 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9
10 * gprof.texi: Fix typo.
11
bd917ff6
ILT
121999-06-13 Ian Lance Taylor <ian@zembu.com>
13
ffc0eff1 14 From Bob Byrnes <byrnes@curl.com>:
bd917ff6
ILT
15 * cg_dfn.c: Include "libiberty.h"
16 (DFN_INCR_DEPTH): Define instead of DFN_DEPTH.
17 (dfn_stack): Define as pointer rather than array.
18 (pre_visit): Reallocate dfn_stack as needed.
19
252b5132
RH
201999-04-26 Tom Tromey <tromey@cygnus.com>
21
22 * aclocal.m4, configure: Updated for new version of libtool.
23
241999-04-06 Ian Lance Taylor <ian@zembu.com>
25
26 * gprof.h (LC_MESSAGES): Never define.
27 * gprof.c (main): Don't pass LC_MESSAGES to setlocale if the
28 system does not define it.
29
301999-04-05 H.J. Lu <hjl@gnu.org>
31
32 * corefile.c (core_create_line_syms): Don't use fixed size array
33 for prev_name and prev_filename.
34
351999-04-04 Michael Hohmuth <hohmuth@innocent.com>
36
37 * gprof.h (FF_BSD44): Define.
38 * gmon.h (struct raw_phdr): Add version, profrate, and spare
39 fields unconditionally.
40 (struct old_raw_phdr): New struct.
41 * gprof.c (main): Handle -O 4.4bsd.
42 * gmon_io.c (gmon_out_read): Handle BSD 4.4 format, either
43 automatically or by user specification.
44 (gmon_out_write): Handle BSD 4.4 format.
45 * configure.in: Don't set BSD44_FORMAT.
46 * gprof.texi (Miscellaneous Options): Document -O 4.4bsd.
47 * configure, gconfig.in: Rebuild.
48
49Tue Feb 16 17:01:33 1999 Ian Lance Taylor <ian@cygnus.com>
50
51 * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL
52 to AC_PROG_INSTALL. Remove AM_CYGWIN32. Change AM_EXEEXT to
53 AC_EXEEXT. Add comment to AC_DEFINE.
54 * acconfig.h: Remove.
55 * aclocal.m4: Rebuild.
56 * configure: Rebuild.
57 * Makefile.in: Rebuild.
58 * gconfig.in: Rebuild.
59
60Sun Dec 6 21:57:50 1998 Ian Lance Taylor <ian@cygnus.com>
61
62 * gprof.texi (Symspecs): Mention that you have to add any
63 underscore yourself when naming a symbol.
64
65Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
66
67 * configure.in: detect cygwin* instead of cygwin32*
68 * configure: regenerate
69
70Wed Aug 12 14:59:06 1998 Ian Lance Taylor <ian@cygnus.com>
71
72 Avoid some overflow cases:
73 * basic_blocks.h (bb_min_calls): Change to unsigned long.
74 * call_graph.h (cg_tally): Change count parameter to unsigned
75 long.
76 * cg_arcs.h (Arc): Change count field to unsigned long.
77 (arc_add): Change count parameter to unsigned long.
78 * source.h (Source_File): Change ncalls field to unsigned long.
79 * symtab.h (Sym): Change fields ncalls, bb_calls, and
80 cg.self_calls to unsigned long.
81 * Many files: Update accordingly.
82
83 * configure, Makefile.in, aclocal.m4: Rebuild with current tools.
84
85Fri Jul 10 17:29:49 1998 Stan Cox <scox@equinox.cygnus.com>
86
87 * configure.in (BSD44_FORMAT): Define for cygwin32, win32, mingw32
88 * configure: Rebuild.
89
90Fri Jun 12 13:40:05 1998 Tom Tromey <tromey@cygnus.com>
91
92 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
93 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
94
95Sun May 10 22:35:33 1998 Jeffrey A Law (law@cygnus.com)
96
97 * po/Make-in (install-info): New target.
98
99Tue May 5 18:28:40 1998 Tom Tromey <tromey@cygnus.com>
100
101 * gprof.h (_): Undefine BFD's version.
102
103Tue Apr 28 19:17:33 1998 Tom Tromey <tromey@cygnus.com>
104
105 * gprof.c (main): Conditionally call setlocale.
106 * gprof.h: Include <locale.h> if HAVE_LOCALE_H.
107 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
108
109Tue Apr 28 19:50:09 1998 Ian Lance Taylor <ian@cygnus.com>
110
111 * corefile.c: Rename from core.c.
112 * corefile.h: Rename from core.h.
113 * Many .c files: Include corefile.h rather than core.h.
114 * Makefile.am (sources): Change core.c to corefile.c.
115 (noinst_HEADERS): Change core.h to corefile.h.
116 ($(OBJECTS)): Depend upon corefile.h rather than core.h.
117 (corefile.o): Rename target from core.o, depend upon corefile.c.
118 * Makefile.in, po/POTFILES.in: Rebuild.
119
120Mon Apr 27 16:50:40 1998 Ian Lance Taylor <ian@cygnus.com>
121
122 * configure.in: Change version number to 2.9.4
123 * configure: Rebuild.
124
125Wed Apr 22 16:01:17 1998 Tom Tromey <tromey@cygnus.com>
126
127 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
128
129Wed Apr 22 00:00:22 1998 Tom Tromey <tromey@scribbles.cygnus.com>
130
131 * gprof.h: Added includes and defines for gettext.
132 * configure.in (ALL_LINGUAS): New macro.
133 Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile.
134 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
135 HAVE_LC_MESSAGES): Define.
136 * gprof.c (main): Call setlocale, bindtextdomain, textdomain.
137 * Makefile.am (SUBDIRS): New macro.
138 (INCLUDES): Look in intl dirs for headers. Define LOCALEDIR.
139 (gprof_DEPENDENCIES): Added INTLDEPS.
140 (gprof_LDADD): Added INTLLLIBS.
141 (POTFILES): New macro.
142 (po/POTFILES.in): New target.
143 * Many files: Wrap user-visible strings with gettext invocation.
144
145Tue Apr 7 12:43:37 1998 Ian Lance Taylor <ian@cygnus.com>
146
147 From hjl@lucon.org <H.J. Lu>:
148 * Makefile.am (diststuff): New target.
149 * Makefile.in: Rebuild.
150
151Mon Mar 30 12:47:48 1998 Ian Lance Taylor <ian@cygnus.com>
152
153 * configure.in: Set version to 2.9.1.
154 * configure: Rebuild.
155
156 * Branched binutils 2.9.
157
158Sat Mar 28 23:09:08 1998 Ian Lance Taylor <ian@cygnus.com>
159
160 Fix some gcc -Wall warnings:
161 * cg_arcs.c (num_cycles): Change to unsigned int.
162 (numarcs): Likewise.
163 (arc_add): Change maxarcs to unsigned int.
164 (cg_assemble): Change index to unsigned int.
165 * cg_arcs.h (num_cycles, numarcs): Update declarations.
166 * cg_print.c (cg_print): Change index to unsigned int.
167 (cg_print_index): Change index, nnames, todo, i, and j to unsigned
168 int.
169 (cg_print_file_ordering): Change symbol_count and index2 to
170 unsigned int.
171 * core.c (symbol_map_count): Change to unsigned int.
172 (core_create_function_syms): Change j to unsigned int.
173 (core_create_line_syms): Add cast to avoid warning.
174 * hist.c (hist_assign_samples): Change j to unsigned int.
175 (hist_print): Change index to unsigned i nt. Add cast to avoid
176 warning.
177 * sym_ids.c (parse_spec): Add casts to avoid warning.
178 * symtab.c (symtab_finalize): Change j to unsigned int.
179 (sym_lookup): Update printf format strings.
180 * symtab.h (Sym_Table): Change len to unsigned int.
181 * tahoe.c (tahoe_reladdr): Add casts to avoid warnings.
182
183Tue Mar 24 19:00:11 1998 Ian Lance Taylor <ian@cygnus.com>
184
185 Add --demangle and --no-demangle options:
186 * gprof.h (demangle): Declare.
187 * gprof.c (demangle): New global variable.
188 (OPTION_DEMANGLE, OPTION_NO_DEMANGLE): Define.
189 (long_options): Add "demangle" and "no-demangle".
190 (usage): Mention --demangle and --no-demangle.
191 (main): Handle OPTION_DEMANGLE and OPTION_NO_DEMANGLE.
192 * utils.c (print_name_only): Only demangle symbol name if demangle
193 is true.
194 * gprof.texi (Output Options): Document new options.
195
196Fri Mar 20 19:21:56 1998 Ian Lance Taylor <ian@cygnus.com>
197
198 * Makefile.in: Rebuild with automake 1.2e.
199 * aclocal.m4, configure: Rebuild with libtool 1.2.
200
201Thu Feb 12 14:36:05 1998 Ian Lance Taylor <ian@cygnus.com>
202
203 * gprof.c (usage): Update bug-gnu-utils address.
204
205Sat Feb 7 15:43:12 1998 Ian Lance Taylor <ian@cygnus.com>
206
207 * configure, aclocal.m4: Rebuild with new libtool.
208
209Fri Feb 6 12:02:28 1998 Ian Lance Taylor <ian@cygnus.com>
210
211 * alpha.c (alpha_Instruction): Use int, not signed.
212
213Fri Feb 6 02:00:19 1998 Jeffrey A Law (law@cygnus.com)
214
215 * core.c (core_init): Adding missing "break".
216
217Thu Feb 5 12:49:37 1998 Ian Lance Taylor <ian@cygnus.com>
218
219 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
220
221Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
222
223 * bbconv.pl: New file.
224 * Makefile.am (EXTRA_DIST): Add bbconv.pl.
225 * Makefile.in: Rebuild.
226
227 * gprof.texi: Extensive additions to document all arguments and
228 output formats.
229
230 * symtab.c (symtab_finalize): Prefer function symbols over line
231 symbols.
232 (dbg_sym_lookup): Correct debugging messages.
233
234 * gprof.c (main): --sum implies --line.
235
236 * cg_print.c (cg_print): When doing line by line profiling, don't
237 use a non-function as a main listing item.
238
239 * call_graph.c (cg_tally): When using line by line profiling, use
240 the function symbol as the child.
241
242 * symtab.h (NBBS): Define.
243 (Sym): Add bb_addr and bb_calls fields.
244 * basic_blocks.c (bb_read_rec): Save multiple basic blocks per
245 symbol.
246 (bb_write_blocks): Adjust for multiple basic blocks per symbol.
247 (print_exec_counts): Don't check whether a symbol is the start of
248 a basic block. Print all basic blocks for a symbol.
249 (annotate_with_count): Rewrite to print all basic block counts and
250 to pay attention to width argument.
251 (print_annotated_source): Don't check whether symbol is the start
252 of a basic block.
253
254 Make it possible to build a cross gprof, although a few cases are
255 still not handled:
256 * configure.in: Don't set MY_TARGET.
257 * gprof.h: Don't include MACHINE_H. Don't define FOPEN_RB or
258 FOPEN_WB; just get them from sysdep.h.
259 * core.h (min_insn_size, offset_to_code): Declare.
260 * core.c (MIN_INSN_SIZE): Don't define.
261 (min_insn_size, offset_to_code): New variables.
262 (core_init): Initialize min_insn_size and offset_to_code.
263 (find_call): New function.
264 (core_create_line_syms): Don't use min_dist. Set is_static in
265 pass 2.
266 * hist.c (UNITS_TO_CODE): Define.
267 * gprof.c (default_excluded_list): Add "__mcount_internal".
268 * gmon.h: Change TARGET_alpha to __alpha__.
269 * hertz.h: Ifdef MACH, define hertz as HZ.
270 * alpha.c (alpha_Instruction): Rename from Instruction. Change
271 all references.
272 (alpha_find_call): Rename from find_call.
273 * alpha.h: Remove.
274 * dummy.c, dummy.h: Remove.
275 * i386.c (i386_iscall): Rename from iscall. Change all
276 references. Check for call instruction, not jump or lcall.
277 (i386_find_call): Rename from find_call. Correct for VMA.
278 Correct call destination computation. Don't dereference symbol if
279 it is NULL.
280 * i386.h: Remove.
281 * ns532.c, ns532.h: Remove.
282 * sparc.c (CALL): Define.
283 (sparc_find_call): Rename from find_call.
284 * sparc.h: Remove.
285 * tahoe.c: Include cg_arcs.h, core.h, hist.h, and symtab.h. Don't
286 include time_host.h.
287 (CALLF, PC): Define.
288 (enum tahoe_opermodes, tahoe_operandenum): Define. Rename all
289 references to opermodes or operandenum to these.
290 (tahoe_operandmode): Rename from operandmode. Call abort if
291 switch does not return.
292 (tahoe_operandname): Rename from operandname. Call abort if
293 switch does not return.
294 (tahoe_operandlength): Rename from operandlength. Call abort if
295 switch does not return.
296 (tahoe_reladdr): Rename from reladdr.
297 (tahoe_find_call): Rename from find_call. Use core_text_space
298 rather than textspace.
299 * tahoe.h: Remove.
300 * vax.c (CALLS, PC): Define.
301 (enum opermodes, operandenum, struct modebyte): Define.
302 (vax_operandmode): Rename from operandmode. Call abort if switch
303 does not return.
304 (vax_operandname): Rename from operandname. Call abort if switch
305 does not return.
306 (vax_operandlength): Rename from operandlength. Call abort if
307 switch does not return.
308 (vax_reladdr): Rename from reladdr.
309 (vax_find_call): Rename from find_call.
310 * vax.h: Remove.
311 * Makefile.am (AUTOMAKE_OPTIONS): Set to cygnus.
312 (MY_TARGET): Remove.
313 (INCLUDES): Remove -DTARGET_$(MY_TARGET) and -DMACHINE_H=
314 \"$(MY_TARGET).h\".
315 (gprof_SOURCES): Add i386.c, alpha.c, vax.c, tahoe.c, sparc.c.
316 (gprof_DEPENDENCIES): Remove $(MY_TARGET).o.
317 (gprof_LDADD): Likewise.
318 (noinst_HEADERS): Remove alpha.h, i386.h, ns532.h, sparc.h,
319 tahoe.h, vax.h, dummy.h.
320 (EXTRA_DIST): Remove alpha.c, i386.c, ns532.c, sparc.c, tahoe.c,
321 vax.c, dummy.c.
322 ($(OBJECTS)): Don't depend upon $(MY_TARGET).h.
323 ($(MY_TARGET).o): Remove target.
324 (i386.o, alpha.o, vax.o, tahoe.o, sparc.o): New targets.
325 * configure, Makefile.in, aclocal.m4: Rebuild.
326
327Mon Dec 29 14:17:08 1997 Ian Lance Taylor <ian@cygnus.com>
328
329 * core.c (core_sym_class): Treat weak symbols as text symbols.
330 From Dean Gaudet <dgaudet@arctic.org>.
331
332Wed Sep 24 11:35:43 1997 Ian Lance Taylor <ian@cygnus.com>
333
334 * aclocal.m4: Rebuild with new libtool.
335 * Makefile.in: Rebuild with current automake.
336 * configure: Rebuild.
337
338Sat Aug 9 16:25:01 1997 Ian Lance Taylor <ian@cygnus.com>
339
340 * configure.in: Change version number to 2.8.2. Call
341 AM_PROG_LIBTOOL. Remove shared library handling; now handled by
342 libtool. Add AM_CONFIG_HEADER. Change AC_PROG_INSTALL to
343 AM_PROG_INSTALL. Add AM_EXEEXT.
344 * Makefile.am (LINK): Remove.
345 (gprof_LDFLAGS): Remove
346 (gprof_DEPENDENCIES): Change libbfd.a to libbfd.la.
347 (gprof_LDADD): Likewise.
348 ($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h.
349 * gprof.h: Undefine PACKAGE and VERSION after including BFD
350 sysdep.h file, then include new gconfig.h file.
351 * gprof.c (VERSION): Don't define.
352 * acconfig.h: New file.
353 * stamp-h.in: New file.
354 * gconfig.in: New file, created by autoheader.
355 * Makefile.in, configure, aclocal.m4: Rebuild.
356
357Sat Jun 28 23:20:42 1997 Ian Lance Taylor <ian@cygnus.com>
358
359 * aclocal.m4, configure, Makefile.in: Rebuild with automake 1.2.
360
361Mon Jun 16 15:31:39 1997 Ian Lance Taylor <ian@cygnus.com>
362
363 * Makefile.am (INCLUDES): Add -DDEBUG.
364 * Makefile.in: Rebuild.
365
366Tue Apr 15 14:19:30 1997 Ian Lance Taylor <ian@cygnus.com>
367
368 Change to use automake:
369 * Makefile.am: New file.
370 * configure.in: Run AM_INIT_AUTOMAKE, AM_MAINTAINER_MODE, and
371 AM_CYGWIN32.
372 * aclocal.m4: New file, created by aclocal.
373 * Makefile.in: Replace with file created by automake --cygnus.
374 * configure: Rebuild.
375
376Thu Apr 3 13:21:25 1997 Ian Lance Taylor <ian@cygnus.com>
377
378 * gprof.c (VERSION): Define as "2.8.1".
379
380 * Branched binutils 2.8.
381
382Thu Mar 27 17:15:23 1997 Ian Lance Taylor <ian@cygnus.com>
383
384 * gprof.c (main): Correct copyright message.
385
386Mon Mar 24 11:12:26 1997 Ian Lance Taylor <ian@cygnus.com>
387
388 * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.
389 * gmon.h: Use bytes counts rather than sizeof in struct raw_phdr
390 and struct raw_arc.
391
392Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>
393
394 * cg_arcs.c (arc_add): memset() newly alloced arc to ensure
395 all fields are initialized with 0.
396
397Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>
398
399 * symtab.h (find_call): Declare.
400 * cg_arcs.c (cg_assemble): Don't declare find_call.
401 * hist.c (scale_and_align_entries): Declare.
402
403Thu Feb 27 12:46:53 1997 Ian Lance Taylor <ian@cygnus.com>
404
405 * configure.in: Define BSD44_FORMAT if the target looks like a
406 BSD4.4 derived system.
407 * configure: Rebuild.
408 * Makefile.in (.c.o): Add @DEFS@.
409 * gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
410 from profrate field, not version field.
411
412Thu Jan 16 17:42:54 1997 Ian Lance Taylor <ian@cygnus.com>
413
414 * dummy.c (find_call): Clear ignore_direct_calls.
415
416Tue Dec 31 15:44:10 1996 Ian Lance Taylor <ian@cygnus.com>
417
418 * Makefile.in (.c.o): Add -D_GNU_SOURCE. Put $(CFLAGS) at the
419 end.
420 (gprof): Put $(CFLAGS) after the other options.
421
422Tue Nov 26 17:08:38 1996 Ian Lance Taylor <ian@cygnus.com>
423
424 * configure: Rebuild with autoconf 2.12.
425
426Wed Oct 2 15:23:16 1996 Ian Lance Taylor <ian@cygnus.com>
427
428 * sparc.c (find_call): Align p_lowpc to avoid bus error.
429
430Tue Oct 1 15:58:10 1996 Ian Lance Taylor <ian@cygnus.com>
431
432 * gprof.c (usage): Print bug report address.
433 (main): Change version printing to match current GNU standards.
434
435Fri Aug 30 12:16:11 1996 Ian Lance Taylor <ian@cygnus.com>
436
437 * gmon.h: Replace #elif with #else/#endif.
438
439Thu Aug 29 17:04:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
440
441 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
442 * configure: Regenerate.
443
444Thu Aug 22 17:12:30 1996 Ian Lance Taylor <ian@cygnus.com>
445
446 * configure.in: Set and substitute HLDENV.
447 * configure: Rebuild.
448 * Makefile.in (HLDENV): New variable.
449 (gprof): Use $(HLDENV).
450
451Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
452
453 * core.c (read_function_mappings): Cast xmalloc return.
454
455Thu Jul 4 12:01:42 1996 Ian Lance Taylor <ian@cygnus.com>
456
457 * gprof.c (VERSION): Define as "2.7.1".
458
459 * Released binutils 2.7.
460
461 * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
462 stored on a System V file system.
463
464Thu Jun 27 11:36:22 1996 Ian Lance Taylor <ian@cygnus.com>
465
466 * configure.in: Call AC_ISC_POSIX.
467 * configure: Rebuild.
468 * Makefile.in (gprof): Pass $(CFLAGS) during link.
469 * hertz.c: Don't include <sys/time.h>; let sysdep.h handle that.
470 If HAVE_SETITIMER is not defined, try using sysconf.
471
472Mon Jun 24 18:27:28 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
473
474 * Makefile.in (exec_prefix, bindir, libdir, mandir, infodir, datadir,
475 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
476 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
477 (AC_PROG_INSTALL): added.
478 * configure: Rebuilt.
479
480Mon Jun 24 12:03:09 1996 Ian Lance Taylor <ian@cygnus.com>
481
482 * configure.in: On alpha*-*-osf*, link against libbfd.a if not
483 using shared libraries.
484 * configure: Rebuild with autoconf 2.10.
485
486Tue Jun 18 17:35:58 1996 Ian Lance Taylor <ian@cygnus.com>
487
488 * core.c (core_create_line_syms): Use xstrdup rather than strdup.
489 * source.c (source_file_lookup_path): Likewise.
490
491Mon Apr 8 14:44:33 1996 Ian Lance Taylor <ian@cygnus.com>
492
493 * configure.in: Permit --enable-shared to specify a list of
494 directories.
495 * configure: Rebuild.
496
497Thu Mar 21 17:18:25 1996 Ian Lance Taylor <ian@cygnus.com>
498
499 * core.c (core_create_function_syms): Move filename and func_name
500 inside ifdef where they are used.
501
502 * core.c (core_sym_class): Parenthesize && within ||.
503 * symtab.c (symtab_finalize): Correct parenthesization.
504
505 * cg_print.h (cg_print_file_ordering): Declare.
506 (cg_print_function_ordering): Declare.
507
508 * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy.
509 * cg_arcs.c (arc_add): Likewise.
510 * cg_print.c (cg_print_function_ordering): Likewise.
511
512Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
513
514 * gprof.c (default_excluded_list): Add "__mcount".
515
516 * gprof.c (main): Change ifdef __osf__ to __alpha__.
517
518 * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the
519 profiling rate from the header.
520
521 * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and
522 __osf__ are defined. Add new fields if BSD44_FORMAT is defined.
523
524 * alpha.h (MIN_INSN_SIZE): Define.
525 * core.c (MIN_INSN_SIZE): If not defined, define as 1.
526 (core_sym_class): Ignore debugging symbols.
527 (core_create_line_syms): Use MIN_INSN_SIZE when gathering line
528 information.
529
530Wed Mar 20 18:15:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
531
532 * cg_print.c (cg_print_function_ordering): Fix __GNUC__ misspelled
533 as __GNU_C__.
534 (order_and_dump_functions_by_arcs): Likewise.
535
536Tue Mar 12 12:19:50 1996 Ian Lance Taylor <ian@cygnus.com>
537
538 * configure: Rebuild with autoconf 2.8.
539
540Sun Feb 18 15:06:18 1996 Ian Lance Taylor <ian@cygnus.com>
541
542 * configure.in: Check for 'do not mix' from native linker before
543 trying to use -rpath.
544 * configure: Rebuild.
545
546Tue Feb 13 15:32:53 1996 Ian Lance Taylor <ian@cygnus.com>
547
548 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
549 * configure: Rebuild.
550
551Wed Feb 7 14:03:17 1996 Ian Lance Taylor <ian@cygnus.com>
552
553 * configure.in: Don't set CC. Look for --enable-shared. Set
554 BFDLIB and HLDFLAGS and substitute them.
555 * configure: Rebuild.
556 * Makefile.in (LIBS): Use @BFDLIB@.
557 (HLDFLAGS): New variable.
558 (gprof): Use $(HLDFLAGS).
559
560Mon Feb 5 16:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
561
562 Support for building bfd and opcodes as shared libraries, based on
563 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
564 * Makefile.in (LIBDEPS): New variable.
565 (LIBS): Use -L../bfd -lbfd.
566 (gprof): Depend upon $(LIBDEPS) rather than $(LIBS).
567
568Sat Dec 30 10:11:03 1995 Jeffrey A Law (law@cygnus.com)
569
570 * gprof.c (long_options): Add "--function-ordering" and
571 "--file-ordering" options.
572 (usage): Add new options to usage message.
573 (main): Handle new options.
574 * gprof.h (STYLE_FUNCTION_ORDER): Define.
575 (STYLE_FILE_ORDER): Define.
576 (function_mapping_file): Declare.
577 * cg_arcs.c (arcs, numarcs): New globals.
578 (arc_add): Put new arcs into the arc array so the function/file
579 ordering code can examine them.
580 * cg_arcs.h (struct arc): New field "has_been_placed".
581 (arcs, numarcs): Declare new globals.
582 * core.c (symbol_map, symbol_map_count): New globals.
583 (read_function_mappings): New function to read in a function
584 to object map file.
585 (core_init): Call read_function_mappings if a function mapping
586 file exists.
587 (core_create_function_syms): Handle function to object file
588 mappings.
589 * symtab.h (struct sym): New fields "mapped", "has_been_placed",
590 "nuses", "prev".
591 * cg_print.c (cmp_arc_count): New function for sorting arcs.
592 (cmp_fun_nuses): Likewise for functions.
593 (cg_print_function_ordering): New function to print a suggested
594 function ordering.
595 (cg_print_file_ordering): Likewise for ordering .o files.
596 (order_and_dump_functions_by_arcs): Helper function for function
597 and object file ordering code.
598
599Sun Dec 24 21:32:27 1995 Jeffrey A Law (law@cygnus.com)
600
601 * core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
602 set if ignore_non_function is set.
603 * gprof.h (ignore_non_functions): Declare.
604 * gprof.c (ignore_non_functions): Define.
605 (long_options): Add "ignore-non-functions".
606 (usage): Add new options.
607 (main): Recognize "-D" and "--ignore-non-functions" option.
608
609Tue Nov 21 13:24:39 1995 Ken Raeburn <raeburn@cygnus.com>
610
611 * Makefile.in (.m.c): Strip out directory name from function
612 name.
613
614 * hist.c (scale_and_align_entries): Don't use DEFUN_VOID. Do
615 UNITS_TO_CODE adjustment unconditionally; compiler can optimize
616 away zero-offset case. Refer to scaled_addr, not aligned_addr.
617
618 * vax.c: Don't include vax.h here.
619
620Thu Nov 16 03:41:37 1995 Ken Raeburn <raeburn@cygnus.com>
621
622 Version 2.6 released.
623
624Wed Nov 8 11:40:04 1995 Ian Lance Taylor <ian@cygnus.com>
625
626 * gprof.c (main): Cast getenv return value.
627
628Mon Nov 6 15:05:00 1995 Ken Raeburn <raeburn@cygnus.com>
629
630 * Makefile.in (TAGS): New target.
631
632Wed Nov 1 12:51:21 1995 Per Bothner <bothner@kalessin.cygnus.com>
633
634 * Makefile.in (DISTSTUFF): Rename to GEN_FILES, to avoid confusion.
635 (all): Depend on $(GEN_FILES), not diststuff (which also depends
636 on info).
637
638Wed Nov 1 15:23:15 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
639
640 * sym_ids.c: Include <ctype.h>.
641
642Wed Oct 25 13:24:31 1995 Per Bothner <bothner@kalessin.cygnus.com>
643
644 * Makefile.in (diststuff): Also make info.
645 (mostlyclean): Don't remove gprof.info*.
646 (maintainer-clean realclean): Also remove *.info*.
647
648Fri Oct 6 16:25:32 1995 Ken Raeburn <raeburn@cygnus.com>
649
650 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
651
652 * Makefile.in: Add dependecies for $(OBJS) on header files.
653
654 * cg_print.c (print_cycle, print_members, cg_print_index): Fix new
655 style output format to make it consistent.
656 * dummy.c (find_call): Fix typo in error message.
657
658Wed Sep 20 13:21:02 1995 Ian Lance Taylor <ian@cygnus.com>
659
660 * Makefile.in (maintainer-clean): New target, synonym for
661 realclean.
662
663Fri Sep 8 14:38:08 1995 Ian Lance Taylor <ian@cygnus.com>
664
665 * Makefile.in (install): Don't install in $(tooldir).
666
667Fri Aug 25 15:30:05 1995 Ken Raeburn <raeburn@cygnus.com>
668
669 NS32K changes from Ian Dall:
670 * configure.in: Use ns32k, not ns532.
671 * ns532.c: Include symtab.h.
672 (find_call): Renamed from findcall. Print a message.
673 * ns532.h: Remove dummy.h comments.
674
675Tue Aug 22 10:00:45 1995 Jeffrey A. Law <law@rtl.cygnus.com>
676
677 * Makefile.in (install): Remove "brokensed" hack, unnecessary now
678 that we're using autoconf.
679
680Wed Jul 19 18:46:13 1995 Fred Fish <fnf@cygnus.com>
681
682 * core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
683 to proper type of "unsigned int *".
684
685Fri Jun 16 15:29:36 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
686
687 * configure.in: Use changequote around use of [].
688
689Mon Jun 12 12:14:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
690
691 * Makefile.in (distclean, realclean): Remove config.cache and
692 config.log.
693
694Wed May 17 17:56:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
695
696 * Makefile.in (Makefile): Added config.status to dependency list.
697 (config.status): New target.
698 (SHELL): New definition.
699
700Tue Apr 25 21:11:12 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
701
702 * Makefile.in (install): Depend on "all".
703
704Thu Apr 20 17:29:07 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
705
706 * Makefile.in: Change all references to MY_MACHINE to MY_TARGET,
707 to match configure script.
708
709Wed Apr 19 11:19:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
710
711 * gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
712 comment emitted by this script to gen-c-prog.awk.
713
714 * Makefile.in, configure.in: Converted to use autoconf.
715 * configure: New file, generated with autoconf 2.3.
716 * config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
717 mt-tahoe, mt-vax}: Removed.
718
719Mon Mar 13 21:44:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
720
721 * __bb_exit_func.c: New file, from David Mosberger-Tang.
722
723 Thu Feb 9 16:56:07 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
724
725 * All *.c: More cleanup towards GNU format.
726
727 * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record):
728 replaced sizeof (bfd_vma) by size (char*) because Ken tells me
729 that bfd_vma is only guaranteed to be at least as big as a pointer.
730
731 (GMON_Record_tag): added explicit enumeration values to ensure
732 compatibility across compilers.
733
734 * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by
735 sizeof(char*).
736
737Tue Feb 7 17:24:12 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
738
739 * All *.c and *.h files: Ran "indent -gnu". Cleaned up a couple
740 of constructs GNU indent couldn't handle. Block comments not yet
741 rewritten in GNU format.
742
743 * gprof.c (VERSION): Changed to 2.6, to get in sync for next
744 binutils release.
745
746Sun Feb 5 16:19:46 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
747
748 * symtab.c (symtab_finalize): ensure globals symbols really
749 are favored over static ones---even if their name looks less
750 preferable; this is important for HP-UX; for example, there
751 is a static label Ltext_something that aliases the global
752 symbol _start
753
754 * hist.c (hist_print): auto-scaling is now in effect for FSF-style
755 output only; also, auto-scaling is now performed based on
756 per-call, rather than total execution time, which is what it was
757 meant to be.
758
759 * gprof.h (File_Format): new type.
760
761 * gprof.c (VERSION): upped to 2.7---seems to be completely out of
762 sync with Cygnus version numbers though...
763
764 (long_options): renamed --gmon-info to --file-info, --width added,
765 renamed --old-file-format to --file-format
766 (main): dito; also added support to read prof files, but as
767 mon_out_read() is not implemented, it's #ifdef'd out for now
768
769 (usage): update to reflect new options.
770
771 * gmon_io.c: replaced "old_file_format" by more general
772 "file_format" option
773
774 * gmon.h (struct raw_phdr): fixed declaration for OSF/1.
775
776 * core.c (core_sym_class): added back check for __gnu_compiled and
777 ___gnu_compiled for the benefit of systems without
778 bfd_find_nearest_line() support
779
780 (get_src_info): now the libbfd is fixed, invoke bfd_find_nearest_line()
781 with section-relative addresses
782
783 (core_create_function_syms): get_src_info() calls are currently
784 enabled for OSF/1 only. It appears to work allright for SunOS
785 4.1.x as well, but on SPARCs it gets painfully slow with the
786 current implementation of aout_32_find_nearest_line();
787 unfortunately, this means that static functions will not have their
788 filename printed in the call-graph function index; line-level
789 profiling should still work, but requires some patience
790
791 * cg_print.c (cg_print_index): sanitised printing of index when
792 using FSF-style output; in particular, output width is now controlled
793 via option --width and the function tries hard to keep columns
794 aligned even in the presence of (occasional) long names
795
796 * NOTES: a first shot at updating the documentation.
797
798Wed Feb 1 19:07:44 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
799
800 * core.c (core_create_function_syms): fixed computation of min_vma
801 and max_vma.
802
803 * *.c: removed rcsid.
804
805Tue Jan 31 16:18:18 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
806
807 * Lots of changes from David Mosberger-Tang:
808
809 Tue Oct 25 19:20:14 1994 David Mosberger-Tang <davidm@piston.cs.arizona.edu>
810
811 * gprof.c (main): put parentheses around & within &&.
812
813 * basic_blocks.c (bb_read_rec): print warning message (once) when
814 ignoring basic-block execution counts.
815
816 * source.c (source_file_lookup_name): corrected second argument to
817 strcmp().
818
819 * hist.c (print_header): merged Fri Oct 21 18:58:02 1994 change by
820 Ken Raeburn <raeburn@cujo.cygnus.com> from binutils-2.5.1.
821
822 * gmon_io.c (gmon_out_read): the output stule STYLE_GMON_INFO is now
823 supported both for old and new (versioned) gmon.out files. Old
824 files are identified as version 0.
825
826 * gmon.h (struct raw_arc): count field is now sizeof(long) bytes
827 long (instead of 4) because that is what OSF/1 v3.0 uses.
828
829 * core.c: minor fixes and debugging info changes.
830
831 Sun Sep 11 18:47:47 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
832
833 * core.c (core_init): if .text cannot be found, try $CODE$ (the
834 name of the text-section under HP-UX).
835
836 * hist.c (hist_assign_samples): fixed off-by-one bug: highpc
837 points one past the last sampling bin, so hist_scale should be
838 computed as "hist_scale /= hist_num_bins", not "hist_scale /=
839 hist_num_bins - 1".
840
841 * gmon_io.c, hist.c, hist.h: renamed hist_num_samples to
842 hist_num_bins.
843
844 * configure.in: added alpha-*-*) for per-target config.
845
846 * alpha.c, alpha.h: created.
847
848 * gprof.c (default_excluded_list): <locore>, <hicore> added.
849
850 * core.c (core_create_function_syms, core_create_line_syms):
851 explicitly keep two sentinels "<locore>" and "<hicore>" that catch
852 all addresses outside the text-space. Thus, sym_lookup(&symtab,
853 addr) continues to guarantee not to return 0 on any address. It
854 also avoids incorrectly crediting the first/last symbol in the
855 text-space.
856
857 * core.c (core_create_line_syms): always create function symbols
858 first, then merge in line symbols; this is so that if parts of the
859 program were compiled without -g, function-level symbols are
860 available still.
861
862 * utils.c (print_name_only): support for print_path added.
863
864 * symtab.c (cmp_addr): also use is_func flag in comparison.
865 (symtab_finalize): return immediately when table empty; now
866 more careful about getting rid of the right duplicate symbol.
867
868 * sparc.c (find_call): many fixes---this function was rather
869 botched in binutils-2.4 already; it should work again.
870
871 * source.c (source_file_lookup_path): PATH is now strdup'ed (it is
872 not good to rely on get_src_info() to return distinct string
873 pointers).
874
875 * search_list.c (search_list_append): added cast for xmalloc().
876
877 * hist.c: added explicit initialization to some of the global
878 variables; fixed SItab (scales were off by a factor of 10).
879
880 * hist.h: include of bfd.h added.
881
882 * gprof.c, gprof.h (print_path): added.
883
884 * gprof.h (MAX): fixed.
885
886 * gmon_out.h: renamed gmon_time_hist_hdr to gmon_hist_hdr.
887
888 * gmon_io.c: added some casts to (long) so we can always print as %lx
889
890 * core.c (core_get_text_space): fixed to make it work.
891
892 * cg_print.c (cg_print_index): added support for print_path option.
893
894 * cg_dfn.h (cg_dfn): wrap prototype in PARAMS().
895
896 * call_graph.c, gmon_io.c, hist.c: avoid taking address of array
897 as some compilers complain (e.g., DEC's OSF/1 compiler)
898
899 * basic_blocks.c, gmon_io.c, hist.c, source.c, sym_ids.c,
900 symtab.c: calls to memset() had 2nd and 3rd args reversed.
901
902 Sat Sep 10 21:53:13 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
903
904 * gprof.c: added "_mcount" to default_excluded_list.
905 (main): if output_style==0 and there is either a histogram or a
906 call-graph, always generate flat and call-graph, no matter what
907 line_granularity is set to.
908
909 * source.c (source_file_lookup_name): if searching for sf->name
910 fails, try again with filename obtained after stripping off any
911 partial path from sf->name.
912
913 * gprof.h (SRCDEBUG): added.
914
915 * search_list.c (search_list_append): directories were added in wrong
916 order.
917
918 * reimplemented selection mechanism from ground up; it is now possible
919 to accurately control what gets included/excluded in each of the
920 output styles; a "symbol-specification" (spec) is the basic means
921 to select a set of symbols; a spec has the syntax:
922
923 spec == (FILENAME:(FUNCNAME|LINE_NUM) | NAME).
924 arc == spec/spec.
925
926 any of the terminal symbols can be empty, in which case they
927 match anything (wildcards). NAME is interpreted as a FILENAME
928 if it contains a dot (e.g., foo.c), as LINE_NUM if it starts
929 with a digit, and as FUNCNAME otherwise.
930
931 For example, to get a call-graph display that ignores arcs
932 from foo() to bar(), you'd say "--no-graph=foo/bar"; to
933 show only arcs into bar() (no matter what the caller),
934 you'd say "--graph=/bar"; and to get a call-graph without
935 any arc info, you'd say "--graph=/"; similarly, to
936 get a flat profile without mcount, you'd say "--no-flat=mcount"
937 and to get a flat profile that shows includes all functions
938 you'd say "--flat=""" (i.e., an empty spec)
939
940 * hist.c (hist_print): top_time wasn't initialized to 0.0.
941
942 Fri Sep 9 01:10:21 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
943
944 * gmon_out.h: all headers now declared in terms of characters
945 to avoid getting into trouble with different compilers introducing
946 different amount of padding; the code already accessed the fields
947 through bfd functions, so that didn't have to change.
948
949 * hist.c (hist_read_rec, hist_write_rec): added support for
950 collection pc histograms measuring quantities other than time;
951 the histogram header now includes a field that specifies the
952 dimension of the quantity measured by the histogram bins
953 (normally, this is "seconds", but other meaningful dimensions
954 include such things as "I-cache misses", "instruction issue stalls"
955 etc.); there is also a field to specify a one-character
956 abbreviation for the dimension; in the case of time, this would
957 be 's'; in most other cases it probably would be '1' (not a physical
958 dimension).
959
960 Thu Sep 8 16:05:08 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
961
962 * gprof.c, gmon_io.[ch]: BSD_COMPATIBLE is gone and new_file_version
963 has become old_file_version; gmon_io.c now always supports old-style
964 gmon.out files; it first tries to read gmon.out as a new version
965 file, if that fails, it tries to read it in the old format;
966 although not very likely, it is possible for gprof to mistake an
967 old-style file as a new one (the first 4 bytes would have to
968 be "gmon"---including the trailing '\0'); in that case, it is
969 necessary to specify --old-file-version
970
971 * gprof.h: removed dependency on SYSV; the code now always uses
972 strrchr(), memset(), and memcpy() and does not include either
973 of string.h or strings.h; this should make gprof compile on
974 any (Unix) system without configuration (per suggestion of
975 raeburn@cygnus.com)
976
977 * gprof.c (usage): fixed location of --new-file-format option.
978
979 * cg_arcs.c (propagate_flags): fixed typo in declaration.
980
981 * flat_bl.m: removed formfeed at end of file; the form-feed
982 is now printed cg_print.c only when necessary.
983
984 * major rewrite of gprof---too many changes to mention all of
985 them. new features:
986
987 + -l now requests profiling at the line level (as opposed
988 to function level); in this mode, gprof creates a "symbol"
989 (aka name-list entry) for each line of source code, instead
990 of one per function)
991
992 + support for a new gmon.out file format; the new format
993 consists of a header with a magic and a version number,
994 followed by a sequence of profile data; profile data
995 can any of: (a) PC histogram, (b) call-graph arcs, or
996 (c) basic-block execution counts; the version number makes
997 it possible to extend gmon.out in a backwards compatible
998 fashion
999
1000 + support for tcov style annotated output: if the gmon.out file
1001 contains basic-block execution counts, the user can request
1002 the generation of annotated source files, much like Sun's
1003 tcov used to do
1004
1005 + long options
1006
1007 + new scheme to suppress symbols that aren't function names
1008 (e.g., avoids mistaking a goto label as a function)
1009
1010 + reorganized source code to make it more managable; as a
1011 side effect, gprof now compiles cleanly with "gcc -Wall"
1012
1013 Thu Sep 1 15:46:49 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1014
1015 * gprof.c (funcsymbol): bfd_find_nearest_line() is now used as a
1016 final cross-check to determine whether a static symbol should be
1017 considered as a function-name.
1018
1019 Fri Aug 5 19:32:36 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1020
1021 * gmon_io.c (gmon_out_read): recognize "-" as the filename for
1022 stdin; this is useful if you wanna keep gmon.out files compressed;
1023 this way you can "gzcat" the compressed file into gprof.
1024
1025 * gprof.c: flag_min_count now initialized with 1 instead of 0.
1026
1027 * basic_blocks.c (bb_annotate_source): added support for creating
1028 .tcov files when option flag_annotate_make_files is TRUE.
1029 (annotate_with_count): all counts less than the minimum count
1030 specified by -m are now annotated with hash-marks.
1031
1032 * gprof.c (main): -A is now followed by a string of option chars.
1033
1034 * basic_blocks.c (annotate_with_count): replaced b->count with
1035 cnt.
1036
1037 * source.c: flag_annotate_source replaced by source_lock_map.
1038
1039 * source.h: source_lock_map added.
1040
1041 * gprof.c (main): new command-line syntax: -S simply specifies
1042 which source-files user is interested in; -A requests annotated
1043 source files and -AA requests that all lines in a source file
1044 are annotated.
1045
1046 Thu Aug 4 23:27:03 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1047
1048 * basic_blocks.c (PATH_MAX): if undefined, define as 1024.
1049
1050 * sparc.c, i386.c, tahoe.c, vax.c: added include of "time_hist.h"
1051 so s_lowpc etc. get declared.
1052
1053 * arcs.h (doarcs): created.
1054
1055 * arcs.c: reordered static functions such that they get defined
1056 before use.
1057
1058 * gprof.c (main): added options:
1059 -A: request annotation of all source lines (with -S)
1060 -m: minimum execution count (with default basic-block display)
1061 -N: force new file format (only if BSD_COMPATIBLE is defined)
1062 -S: annotate source file
1063 -t: set table length (with -S)
1064
1065 * Makefile (OBJS): added basic_blocks.o call_graph.o gmon_io.o
1066 source.o time_hist.o
1067
1068 Fri Jul 1 15:23:50 1994 David Mosberger-Tang (davidm@piston.cs.arizona.edu)
1069
1070 * gprof.c (asgnsamples): computation of "pcl" and "pch" depended
1071 on the fact being able to store a long in a double without loss of
1072 precision; this does not hold on machines with 64 bit longs and 64
1073 bit doubles.
1074
1075Fri Oct 21 18:58:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1076
1077 * printgprof.c (flatprofheader): Always set totime to 1.0 if not
1078 greater than 0.0. Suggested by Harold Assink
1079 <carlo@sg.tn.tudelft.nl>.
1080
1081Fri Sep 23 15:06:45 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1082
1083 * printgprof.c (printprof): Use free, not cfree.
1084 (printgprof, printindex): Ditto.
1085
1086Thu Sep 1 10:40:45 1994 Jeff Law (law@snake.cs.utah.edu)
1087
1088 * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
1089 decls extern to keep native HP compiler quiet.
1090
1091Tue Aug 30 11:12:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1092
1093 * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
1094 __gnu_compiled, for the benefit of systems which add a leading
1095 underscore.
1096
1097Wed Aug 24 12:49:13 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1098
1099 * configure.in: Change i386-*-* to i[345]86-*-*.
1100
1101Sun Jul 10 00:35:31 1994 Ian Dall (dall@hfrd.dsto.gov.au)
1102
1103 * ns532.c, ns532.h: New Files. ns532 support.
1104
1105 * config/mt-ns532: New File. ns532 support.
1106
1107 * gprof.c: user register int i instead of defaulting the int.
1108 Allows compilation with -Dregister= for debugging.
1109
1110 * configure.in: Add ns532 support.
1111
1112Thu Jun 23 11:22:41 1994 Jeff Law (law@snake.cs.utah.edu)
1113
1114 * Makefile.in (gprof): Depend on $(LIBS).
1115
1116Fri May 27 12:24:57 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1117
1118 From binutils-2.4 release:
1119
1120 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
1121
1122 * configure.bat: [new] build makefile from makefile.in (dos)
1123 * hertz.c: allow static HERTZ (msdos needs it)
1124 * gprof.c: allow target to select "r" or "rb" for fopen
1125 * gprof.c: ignore __gnu_compiled symbols
1126 * i386.h: dfine FOPEN_RB to "rb" for dos.
1127
1128Tue May 17 15:30:22 1994 E. Michael Smith (ems@cygnus.com)
1129
1130 * Makefile.in (.m.c:): Added .SUFFIXES : .m
1131 so flat_bl.c would make from flat_bl.m file.
1132
1133Thu May 5 19:23:24 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1134
1135 * Makefile.in (install-info): Check for gprof.info in build dir,
1136 fall back to srcdir. Depend on it.
1137
1138 * gprof.h (TRUE, FALSE): Always use undef before defining them.
1139
1140Mon Apr 4 23:47:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1141
1142 * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing
1143 makes (osf1) in which the value of MACHINE can not be changed.
1144 * config/*.mt: Changed appropriately.
1145
1146Wed Mar 30 16:12:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1147
1148 * gprof.c (getsymtab): Change nosyms to long. Rename
1149 get_symtab_upper_bound to bfd_get_symtab_upper_bound. Check for
1150 errors from bfd_get_symtab_upper_bound and
1151 bfd_canonicalize_symtab.
1152
1153Tue Mar 22 10:50:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1154
1155 * gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
1156 bfd_decode_symclass.
1157
1158Sun Mar 20 15:40:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1159
1160 * Makefile.in: Avoid bug in hpux sed.
1161
1162Wed Dec 15 20:16:40 1993 david d `zoo' zuhn (zoo@andros.cygnus.com)
1163
1164 * gprof.texi (Invoking): add text about -v flag
1165
1166 * gprof.1: add text about -v flag
1167
1168Wed Dec 8 16:55:06 1993 david d `zoo' zuhn (zoo@andros.cygnus.com)
1169
1170 * gprof.c (VERSION): defined a version macro, print the value
1171 when the -v option is used
1172
1173Tue Jul 6 10:11:56 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1174
1175 * Makefile.in: Install correctly.
1176
1177Thu Jun 24 14:43:22 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1178
1179 * gprof.c (main): Get whoami from argv, instead of hardcoding.
1180 Use it in usage message. Split usage message to fit in 80 cols.
1181
1182Sun Jun 20 20:58:02 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
1183
1184 * Makefile.in: Undo 15 June change.
1185
1186Wed Jun 16 12:54:53 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1187
1188 * gmon.h, gprof.h: structs of chars used to hold external
1189 representations.
1190 * gprof.c (getpfile, openpfile, readsamples): Swap data in using
1191 new structures.
1192
1193Tue Jun 15 23:09:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1194
1195 * Makefile.in (.c.o): Look in ../include, not ../bfd, for bfd.h.
1196
1197Mon Jun 14 16:22:59 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
1198
1199 * Makefile.in: remove parentdir support
1200
1201Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com)
1202
1203 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
1204 * configure.in: No longer need to configure to get sysdep.h.
1205
1206Tue May 18 21:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1207
1208 * Makefile.in (install): should not depend on install-info
1209
1210Mon Apr 26 12:37:46 1993 Ian Lance Taylor (ian@cygnus.com)
1211
1212 * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz.
1213
1214Tue Apr 13 16:14:03 1993 Per Bothner (bothner@cygnus.com)
1215
1216 * M Makefile.in: Add -g to CFLAGS.
1217 Ads LDFLAGS and use in place of CFLAGS where appropriate.
1218 * configure.in: Make a sysdep.hlink in the same way other
1219 bfd-based directories do.
1220 * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned
1221 short'.
1222 * gprof.h: #include sysdep.h instead of a bunch of stuff.
1223 * gprof.c (main): Fix typo gproff->gprof.
1224
1225Thu Mar 25 19:00:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1226
1227 * gprof.texi: add INFO-DIR-ENTRY
1228
1229Tue Mar 23 00:03:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1230
1231 * Makefile.in: add installcheck target
1232
1233Sat Feb 27 18:17:10 1993 Per Bothner (bothner@rtl.cygnus.com)
1234
1235 * gprof.c (funcsymbol): Invert test for aflag.
1236
1237Thu Feb 25 16:01:50 1993 Per Bothner (bothner@rtl.cygnus.com)
1238
1239 * printgprof (xmalloc, xrealloc): Cast results of malloc
1240 and realloc to PTR.
1241
1242Wed Feb 3 13:55:33 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
1243
1244 * Makefile.in: created info, install-info, dvi
1245
1246Wed Jan 6 00:58:09 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1247
1248 * Makefile.in: fix install rule for $(PROG)
1249
1250Fri Oct 9 11:25:41 1992 Mark Eichin (eichin@cygnus.com)
1251
1252 * gprof.1: updated SYNOPSIS to match actual behavior.
1253
1254Mon Oct 5 17:50:16 1992 Per Bothner (bothner@cygnus.com)
1255
1256 * gen-c-prog.awk: New awk script, lightly changed from
1257 previously deleted make-c-prog.awk. Converts a text file
1258 to a c function that prints that text.
1259 * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files.
1260 Inputs to gen-c-prog.awk, containing text describing
1261 gprof output.
1262 * blurbs.c: Removed. Use *_bl.c instead.
1263 * Makefile.in: Use gen-cprog.awk to generate *_bl.c files
1264 from *_bl.m files. Also, improve *clean rules.
1265 * printgprof.c (printgprof): Usw new function names from *_bl.c.
1266
1267
1268Sun Aug 30 19:54:53 1992 Per Bothner (bothner@rtl.cygnus.com)
1269
1270 * gprof.h, gprof.c, printfgprof.c: Add support for two
1271 output styles: The default is similar to the old FSF gprof,
1272 while -T sets the variable bsd_style_output, which causes
1273 output matching Berkeley's gprof. The biggest differences
1274 are that with the FSF style output, the flat profile comes
1275 before the call graph; numbers come before explanations;
1276 and there is less gratuitous white space.
1277 * gprof.h, gprof.c, printfgprof.c: New discard_underscores
1278 variable causes discarding of initial underscores when
1279 printing symbol names. It is set unless there is a "main"
1280 symbol (without an underscore).
1281 * printfgprof.c: New function printnameonly(), called
1282 by printname(). It handles stripping of initial '_',
1283 as well as C++ name-demangling.
1284 * gprof.callg, gprof.flat, make-c-prog.awk: Removed.
1285 It is just as convenient to edit blurbs.c directly.
1286 * Makefile.in: Removed rule for making blurbs.c.
1287 * blurbs.c: This is now a true source file (as opposed
1288 to being generated from gprof.callg and gprof.flat).
1289 Change style to use one long string literal, instead of
1290 one literal per output line. Add FSF-style blurb for call graph.
1291
1292Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com)
1293
1294 * Makefile.in: always create installation directories.
1295
1296Wed Aug 12 15:14:14 1992 Mark Eichin (eichin@cygnus.com)
1297
1298 * Makefile.in: change ${MACHINE} to $(MACHINE).
1299
1300Sun Jul 19 17:34:01 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1301
1302 * Makefile.in: removed installation of the now useless
1303 call.{flag,callg} files.
1304
1305 * gprof.1: now uses the standard man macros instead of the new BSD
1306 mandoc macros.
1307
1308Sun Jul 12 19:06:00 1992 John Gilmore (gnu at cygnus.com)
1309
1310 * configure.in: Remove host section, expand target section.
1311 * config/mt-{tahoe,vax}: Add, to match existing support files.
1312 * config/tmake-*: Remove leftover crud.
1313
1314 * blurbs.c: New file, created from gprof.flat and gprof.callg by
1315 * make-c-prog.awk: which processes text files into C programs.
1316 * printgprof.c (flatprofheader, gprofheader): Call new functions
1317 to print blurbs.
1318 (printblurb): Remove.
1319 * Makefile.in: Infrastructure to build blurbs.
1320 * pathnames.h: has been removed. Gprof now has no filename
1321 dependencies in it.
1322 * gprof.c: Lint.
1323
1324Sat Jul 11 18:07:21 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1325
1326 * Makefile.in: define man1dir and install the man page
1327
1328Fri Jul 10 21:14:08 1992 david d `zoo' zuhn (zoo@cygnus.com)
1329
1330 * Makefile.in: added dummy info and install-info targets
1331
1332Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
1333
1334 * lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
1335 help in debugging the problem (with -DDEBUG)
1336 * gprof.c: symbol values are now real values, don't add the vma
1337 anymore. (done for solaris; should verify this on other platforms)
1338 * ChangeLog: created.
This page took 0.074716 seconds and 4 git commands to generate.