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