* corefile.c (cmp_symbol_map): New function.
[deliverable/binutils-gdb.git] / gprof / ChangeLog
1 2009-06-16 Homer Xing <homer.xing@yahoo.com>
2
3 * corefile.c (cmp_symbol_map): New function.
4 (read_function_mappins): Use qsort to sort the symbols.
5 (search_mapped_symbol): New function.
6 (core_create_function_syms): Use bsearch to find symbols.
7 * corefile.h (struct function_map): Add new bit-field: is_first.
8 * cg_print.c (cmp_symbol_map): New function.
9 (cg_print_file_ordering): Sort the symbol map.
10
11 2009-06-15 Homer Xing <homer.xing@yahoo.com>
12
13 * corefile.c (core_create_syms_from): Use BFD_VMA_FMT when
14 scanning in an address.
15
16 2009-06-12 Homer Xing <homer.xing@yahoo.com>
17
18 * corefile.c (num_of_syms_in): New function - computes the number
19 of symbols in a given file.
20 (core_create_syms_from): New function - populates a symbol table
21 from the symbols found in a specified file.
22 * corefile.h: Prototype core_create_syms_from.
23 * gprof.c (long_options): Add --external-symbol-table.
24 (usage): Mention it.
25 (main): Initiailize external_symbol_table from
26 --external-symbol-table option. If set use it.
27 * gprof.texi: Document the new option.
28
29 2009-06-04 Alan Modra <amodra@bigpond.net.au>
30
31 * dep-in.sed: Don't use \n in replacement part of s command.
32 * Makefile.am (DEP1): LC_ALL for uniq.
33 * Makefile.in: Regenerate.
34
35 2009-05-26 Nick Clifton <nickc@redhat.com>
36
37 * po/id.po: Updated Indonesian translation.
38 * po/gprof.pot: Updated template file.
39
40 2009-05-26 Alan Modra <amodra@bigpond.net.au>
41
42 * dep-in.sed: Output one filename per line with all lines having
43 continuation backslash. Prefix first line with "A", following
44 lines with "B".
45 * Makefile.am (DEP): Don't use dep.sed here.
46 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
47 sort and uniq.
48 * Makefile.in: Regenerate.
49
50 2009-05-22 Alan Modra <amodra@bigpond.net.au>
51
52 * Makefile.am: Run "make dep-am".
53 * Makefile.in: Regenerate.
54
55 2009-04-15 Kazu Hirata <kazu@codesourcery.com>
56
57 * gprof.h: Include gconfig.h. #undef PACKAGE.
58
59 2009-04-09 Philippe Biondi <phil@secdev.org>
60
61 * corefile.c (core_create_function_syms): Initialise a symbol's
62 is_func field based on the setting of the BSF_FUNCTION flag.
63
64 2009-03-06 Nick Clifton <nickc@redhat.com>
65
66 * po/es.po: Updated Spanish translation.
67
68 2009-03-03 Alan Modra <amodra@bigpond.net.au>
69
70 * Makefile.am: Run "make dep-am".
71 * Makefile.in: Regenerate.
72
73 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74
75 * configure: Regenerate.
76
77 2009-02-12 Ken Werner <ken.werner@de.ibm.com>
78
79 * corefile.c (core_create_function_syms): Remove "<locore>" and
80 "<hicore>" sentinels.
81 * gprof.c: Likewise.
82 * cg_print.c (cg_print_function_ordering): Likewise.
83 * alpha.c (alpha_find_call): Add check for return value of sym_lookup.
84 * mips.c (mips_find_call): Likewise.
85 * sparc.c (sparc_find_call): Likewise.
86 * tahoe.c (tahoe_find_call): Likewise.
87 * vax.c (vax_find_call): Likewise.
88
89 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
90
91 * configure.in: AC_SUBST pdfdir.
92 * Makefile.am: Add install-pdf, install-pdf-am,
93 and install-pdf-recursive targets. Define pdf__strip_dir.
94 * po/Make-in: Add install-pdf target.
95 * configure: Regenerate.
96 * Makefile.in: Regenerate.
97
98 2009-01-03 Nick Clifton <nickc@redhat.com>
99
100 PR 7099
101 * gprof.texi (Compiling): Mention the need for using
102 -static-libgcc on shared library systems.
103
104 2009-01-02 Nick Clifton <nickc@redhat.com>
105
106 * po/id.po: Updated Indonesian translation.
107
108 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109
110 * configure: Regenerate.
111
112 2008-11-19 Nick Clifton <nickc@redhat.com>
113
114 * fdl.texi: New file.
115 * gprof.texi: Change license to v1.3.
116
117 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
118 Steve Ellcey <sje@cup.hp.com>
119
120 * configure: Regenerate for new libtool.
121 * aclocal.m4: Ditto.
122 * Makefile.in: Ditto.
123
124 2008-09-29 Nick Clifton <nickc@redhat.com>
125
126 * po/vi.po: Updated Vietnamese translation.
127
128 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 * configure.in: Call AC_SYS_LARGEFILE.
131 * gconfig.in: Regenerate.
132 * configure: Regenerate.
133
134 2008-09-11 Alan Modra <amodra@bigpond.net.au>
135
136 * po/ro.po: New file.
137
138 2008-08-25 Alan Modra <amodra@bigpond.net.au>
139
140 * gmon_io.h: Don't include sysdep.h here.
141 (O_BINARY, SET_BINARY): Don't define here.
142 * gmon_io.c: Include "binary-io.h".
143 (gmon_out_read): Remove #ifdef SET_BINARY.
144 * Makefile.am: Run "make dep-am"
145 * Makefile.in: Regenerate.
146
147 2008-08-24 Alan Modra <amodra@bigpond.net.au>
148
149 * configure.in: Update a number of obsolete autoconf macros.
150
151 2008-08-15 Alan Modra <amodra@bigpond.net.au>
152
153 PR 6526
154 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
155 * Makefile.in: Regenerate.
156 * aclocal.m4: Regenerate.
157 * configure: Regenerate.
158 * gconfig.in: Regenerate.
159
160 2008-08-05 Brian Dessent <brian@dessent.net>
161
162 * gmon_io.c (gmon_out_read): When reading old format gmon.out,
163 set num_histograms and hist_scale.
164
165 2008-08-04 Alan Modra <amodra@bigpond.net.au>
166
167 * Makefile.am (POTFILES.in): Set LC_ALL=C.
168 * Makefile.in: Regenerate.
169
170 2008-07-30 Alan Modra <amodra@bigpond.net.au>
171
172 * corefile.c, symtab.c: Silence gcc warnings.
173
174 2008-06-19 Andreas Schwab <schwab@suse.de>
175
176 * basic_blocks.c: Always include "gprof.h" first.
177 * cg_arcs.c: Likewise.
178 * cg_dfn.c: Likewise.
179 * cg_print.c: Likewise.
180 * corefile.c: Likewise.
181 * gprof.c: Likewise.
182 * hist.c: Likewise.
183 * search_list.c: Likewise.
184 * sym_ids.c: Likewise.
185 * utils.c: Likewise.
186
187 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
188
189 * configure: Regenerate.
190
191 2008-06-04 Nick Clifton <nickc@redhat.com>
192
193 * po/nl.po: New file: Dutch translation.
194 * configure.in (ALL_LINGUAS): Add nl.
195 * configure: Regenerate.
196
197 2008-05-14 Alan Modra <amodra@bigpond.net.au>
198
199 * Makefile.in: Regenerate.
200
201 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
202
203 * aclocal.m4: Regenerate.
204 * configure: Regenerate.
205
206 2008-03-31 Nick Clifton <nickc@redhat.com>
207
208 * po/fr.po: Updated French translation.
209
210 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
211
212 * aclocal.m4: Regenerate.
213 * configure: Likewise.
214 * Makefile.in: Likewise.
215
216 2008-03-13 Alan Modra <amodra@bigpond.net.au>
217
218 * configure: Regenerate.
219
220 2008-02-06 Nick Clifton <nickc@redhat.com>
221
222 * po/ms.po: Updated Malasian translation.
223
224 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR 5715
227 * configure: Regenerated.
228
229 2007-10-24 H.J. Lu <hongjiu.lu@intel.com>
230
231 * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
232 * configure: Regenerated.
233
234 2007-10-24 Alan Modra <amodra@bigpond.net.au>
235
236 * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
237 * configure.in: Invoke AC_GNU_SOURCE.
238 * Makefile.in: Regenerate.
239 * configure: Regenerate.
240 * gconfig.in: Regenerate.
241
242 2007-10-12 Michael Haubenwallner <haubi@gentoo.org>
243
244 PR gprof/5147
245 * configure.in: Add check for fabs() being in libm.
246 * configure: Regenerate.
247
248 2007-09-25 Robert Norton <rnorton@broadcom.com>
249
250 * cg_print.c (sort_members): Include the final member on the list
251 in the sort.
252
253 2007-09-17 Nick Clifton <nickc@redhat.com>
254
255 * po/es.po: Updated Spanish translation.
256
257 2007-08-30 Nick Clifton <nickc@redhat.com>
258
259 * po/fi.po: Updated Finnish translation.
260
261 2007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
262
263 * po/sv.po: Updated Swedish translation.
264
265 2007-08-17 Alan Modra <amodra@bigpond.net.au>
266
267 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
268
269 2007-08-12 Matthias Klose <doko@ubuntu.com>
270
271 * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
272 $(top_srcdir)/../../bfd/doc.
273 * Makefile.in: Regenerate.
274
275 2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
276
277 * configure.in (ALL_LINGUAS): Add fi.
278 * po/fi.po: New file.
279 * configure: Regenerated.
280
281 2007-08-10 Nick Clifton <nickc@redhat.com>
282
283 * po/ga.po: Updated Irish translation.
284 * po/vi.po: Updated Vietnamese translation.
285
286 2007-08-07 Nick Clifton <nickc@redhat.com>
287
288 * po/de.po: Updated German translation.
289
290 2007-07-12 Nick Clifton <nickc@redhat.com>
291
292 * po/vi.po: Updated translation.
293
294 2007-07-12 Kai Tietz <kai.tietz@onevision.com>
295
296 * cg_print.c: Force cast of sizeof to be a long.
297 * hist.c: Likewise.
298
299 2007-07-06 Nick Clifton <nickc@redhat.com>
300
301 * basic_blocks.c: Update copyright notice to refer to GPLv3.
302 * basic_blocks.h, bbconv.pl, bb_exit_func.c, call_graph.c,
303 call_graph.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
304 flat_bl.m, gmon_io.c, gmon_io.h, gmon_out.h, hist.c, hist.h,
305 search_list.c, search_list.h, source.c, source.h, sym_ids.c,
306 sym_ids.h, symtab.c, symtab.h: Likewise.
307
308 2007-07-05 Tristan Gingold <gingold@adacore.com>
309
310 * corefile.c (core_sym_class): Do not discard nested subprograms.
311 * Makefile.am (corefile.o): Add dependency upon safe-ctype.h.
312 * Makefile.in: Regenerate.
313
314 2007-07-02 Alan Modra <amodra@bigpond.net.au>
315
316 * Makefile.am: Run "make dep-am".
317 * Makefile.in: Regenerate.
318 * aclocal.m4: Regenerate.
319 * gconfig.in: Regenerate.
320 * po/gprof.pot: Regenerate.
321
322 2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
323
324 * aclocal.m4: Regenerated.
325 * Makefile.in: Likewise.
326
327 2007-06-20 Nick Clifton <nickc@redhat.com>
328
329 * gprof.texi: Refer readers to the gcov tool if they want
330 line-by-line profiling.
331
332 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
333
334 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
335
336 * acinclude.m4: Removed.
337
338 * Makefile.in: Regenerated.
339 * aclocal.m4: Likewise.
340 * configure: Likewise.
341
342 2007-05-24 Steve Ellcey <sje@cup.hp.com>
343
344 * Makefile.in: Regnerate.
345 * configure: Regenerate.
346 * aclocal.m4: Regenerate.
347
348 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>
349
350 * gprof.texi: Remove orphaned "@end ignore".
351
352 2007-05-22 Nick Clifton <nickc@redhat.com>
353
354 * gprof.texi: Use @copying around the copyright notice.
355
356 2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
357
358 * hist.c (scale_and_align_entries): Avoid C99 feature.
359
360 2007-04-19 Alan Modra <amodra@bigpond.net.au>
361
362 * corefile.c (core_create_function_syms, core_create_line_syms): Don't
363 set discard_underscores.
364 * gprof.c (discard_underscores): Delete.
365 * gprof.h (discard_underscores): Delete.
366 * sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
367 leading underscores.
368 * utils.c (print_name_only): Call bfd_demangle rather than
369 cplus_demangle.
370 * Makefile.am: Run "make dep-am".
371 * Makefile.in: Regenerate.
372
373 2007-04-14 Steve Ellcey <sje@cup.hp.com>
374
375 * Makefile.am: Add ACLOCAL_AMFLAGS.
376 * Makefile.in: Regenerate.
377
378 2007-04-10 Vladimir Prus <vladimir@codesourcery.com>
379
380 * hist.h (struct histogram)
381 (histograms, num_histograms): New.
382 * hist.c (find_histogram, find_histogram_for_pc)
383 (read_histogram_header): New.
384 (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
385 (hist_sample): Remove.
386 (hist_read_rec): Use the above, and handle multiple
387 histogram records with disjoint address ranges.
388 (hist_write_hist): Support several histogram records.
389 (scale_and_align_entries): Adjust for multiple histograms.
390 (hist_assign_samples_1): New.
391 (hist_assign_samples): Use the above.
392 (hist_clip_symbol_address): New.
393 * hist.h (hist_check_address)
394 (hist_clip_symbol_address): Declare.
395 * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
396 of legacy format for multiple histogram changes.
397 * corefile.c (find_call): Check for core_text_space and
398 clip symbol address range here.
399 * vax.c (vax_find_call): Don't check for
400 core_text_space, or clip the symbol's address range here.
401 Use hist_check_address to check call's target address.
402 * sparc.c: Likewise.
403 * tahoe.c: Likewise.
404 * i386.c: Likewise.
405 * mips.c: Likewise. Also use core_text_sect->vma as the base
406 address for code accesses, just like other machine-specific
407 routines do.
408 * gprof.texi: Adjust for the new logic.
409
410 2007-03-28 Richard Sandiford <richard@codesourcery.com>
411 Phil Edwards <phil@codesourcery.com>
412
413 * gprof.texi: Put the contents after the title page rather
414 than at the end of the document.
415
416 2007-03-22 Joseph Myers <joseph@codesourcery.com>
417
418 * Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS).
419 (AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc.
420 * Makefile.in: Regenerate.
421 * gprof.texi: Include bfdver.texi. Report both VERSION_PACKAGE
422 and VERSION.
423
424 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
425
426 * Makefile.am (REPORT_BUGS_TO): Removed.
427 (INCLUDES): Remove -DREPORT_BUGS_TO.
428 * Makefile.in: Regenerated.
429
430 * configure.in (--with-bugurl): Removed.
431 * configure: Regenerated.
432
433 2007-03-01 Joseph Myers <joseph@codesourcery.com>
434
435 * gprof.c: Include bfdver.h
436 (main): Use BFD_VERSION_STRING for version number and package
437 name.
438 * Makefile.am (PKGVERSION): Remove.
439 (INCLUDES): Update.
440 Regenerate dependencies.
441 * Makefile.in: Regenerate.
442 * configure.in (PKGVERSION): Remove.
443 * configure: Regenerate.
444
445 2007-02-17 Mark Mitchell <mark@codesourcery.com>
446 Nathan Sidwell <nathan@codesourcery.com>
447 Vladimir Prus <vladimir@codesourcery.com>
448 Joseph Myers <joseph@codesourcery.com>
449
450 * configure.in (--with-pkgversion, --with-bugurl): New options.
451 * configure: Regenerate.
452 * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
453 (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
454 Regenerate dependencies.
455 * Makefile.in: Regenerate.
456 * gprof.c (usage): Don't print empty REPORT_BUGS_TO.
457 (main): Include PKGVERSION in version output.
458 * gprof.h: Remove include of bin-bugs.h.
459
460 2007-01-16 Ben Elliston <bje@au.ibm.com>
461
462 * corefile.c (parse_error): New function.
463 (read_function_mappings): Check calls to fscanf and report any
464 errors in parsing the mapping file.
465
466 2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
467
468 * Makefile.am (gprof_TEXINFOS): Set.
469 (gprof.info gprof.dvi gprof.html): Delete rule.
470 * Makefile.in: Regenerated.
471
472 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
473
474 * configure.in: Define GENINSRC_NEVER.
475 * doc/Makefile.am (gprof.info): Remove srcdir prefix.
476 (MAINTAINERCLEANFILES): Add info file.
477 (DISTCLEANFILES): Pretend to add info file.
478 * po/Make-in (.po.gmo): Put gmo files in objdir.
479 * configure, Makefile.in: Regenerated.
480
481 2006-11-27 Nick Clifton <nickc@redhat.com>
482
483 * po/ms.po: Updated Malay translation.
484
485 2006-11-22 Nick Clifton <nickc@redhat.com>
486
487 * configure.in (LINGUAS): Add ms.
488 * po/ms.po: New Malay translation.
489
490 2006-10-17 Bob Wilson <bob.wilson@acm.org>
491
492 * gprof.c (main): Fix option string for -r and -R.
493
494 2006-10-16 Bob Wilson <bob.wilson@acm.org>
495
496 * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
497
498 2006-10-16 Bob Wilson <bob.wilson@acm.org>
499
500 * gprof.c (main): Fix option string for -C, -n and -N.
501
502 2006-09-26 Thiemo Seufer <ths@networkno.de>
503
504 * gprof.texi: Fix install failure.
505
506 2006-09-19 Bob Wilson <bob.wilson@acm.org>
507
508 * gprof.texi: Use TeX-style quotes and em-dashes consistently.
509 Specify section names in cross references. Fix typos.
510 Omit "next", "previous" and "up" fields from @node lines.
511 (SYNOPSIS): Show map_file argument to --file-ordering.
512 (Compiling): Remove extra, truncated lines from example output.
513 (Cycles): Fix references to "called" field.
514 (Internals): Allow hyphenation between file:function names.
515 (GNU Free Documentation License): Update formatting to match fdl.texi.
516
517 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
518
519 * gprof.texi: Fix some typos.
520
521 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
522
523 * po/Make-in (pdf, ps): New dummy targets.
524
525 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
526
527 * po/Make-in (top_builddir): Define.
528
529 2006-06-05 Alan Modra <amodra@bigpond.net.au>
530
531 * Makefile.in: Regenerate.
532 * gconfig.in: Regenerate.
533
534 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
535
536 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
537 and LIBINTL_DEP everywhere.
538 (INCLUDES): Use @INCINTL@.
539 * acinclude.m4: Include new gettext macros.
540 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
541 Remove local code for po/Makefile.
542 * Makefile.in, aclocal.m4, configure: Regenerated.
543
544 2006-05-30 Nick Clifton <nickc@redhat.com>
545
546 * po/es.po: Updated Spanish translation.
547
548 2006-05-02 James E Wilson <wilson@specifix.com>
549
550 * gprof.c (main): When setting default output_style, add separate
551 checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.
552
553 2006-04-25 Masaki Muranaka <monaka@monami-software.com>
554
555 PR 2587
556 * Makefile.am: Add empty rule for .m -> .o build in order to work
557 around bug in gmake shipped by Apple.
558 * Makefile.in: Regenerate.
559
560 2006-04-19 Alan Modra <amodra@bigpond.net.au>
561
562 * configure: Regenerate.
563
564 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
565
566 * po/Make-in: Add install-html target.
567 * Makefile.am: Add install-html, install-html-am and
568 install-html-recursive targets.
569 * Makefile.in: Regenerate.
570 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
571 * configure: Regenerate.
572
573 2006-03-21 Ben Elliston <bje@au.ibm.com>
574
575 * corefile.c (core_init): Report that the executable is not in the
576 expected executable format rather than "a.out" format.
577
578 2006-03-09 Nick Clifton <nickc@redhat.com>
579
580 * po/sv.po: Updated Swedish translation.
581
582 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
583
584 * po/Make-in: Add html target.
585
586 For older changes see ChangeLog-2005
587 \f
588 Local Variables:
589 mode: change-log
590 left-margin: 8
591 fill-column: 74
592 version-control: never
593 End:
This page took 0.061855 seconds and 5 git commands to generate.