* hist.h (struct histogram)
[platform/upstream/binutils.git] / gprof / ChangeLog
1 2007-04-10  Vladimir Prus  <vladimir@codesourcery.com>
2
3         * hist.h (struct histogram)
4         (histograms, num_histograms): New.
5         * hist.c (find_histogram, find_histogram_for_pc)
6         (read_histogram_header): New.
7         (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
8         (hist_sample): Remove.
9         (hist_read_rec): Use the above, and handle multiple
10         histogram records with disjoint address ranges.
11         (hist_write_hist): Support several histogram records.
12         (scale_and_align_entries): Adjust for multiple histograms.
13         (hist_assign_samples_1): New.
14         (hist_assign_samples): Use the above.
15         (hist_clip_symbol_address): New.
16         * hist.h (hist_check_address)
17         (hist_clip_symbol_address): Declare.
18         * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
19         of legacy format for multiple histogram changes.
20         * corefile.c (find_call): Check for core_text_space and
21         clip symbol address range here.
22         * vax.c (vax_find_call): Don't check for
23         core_text_space, or clip the symbol's address range here.
24         Use hist_check_address to check call's target address.  
25         * sparc.c: Likewise.
26         * tahoe.c: Likewise.
27         * i386.c: Likewise.
28         * mips.c: Likewise. Also use core_text_sect->vma as the base
29         address for code accesses, just like other machine-specific
30         routines do.
31         * gprof.texi: Adjust for the new logic.
32         
33 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
34             Phil Edwards  <phil@codesourcery.com>
35
36         * gprof.texi: Put the contents after the title page rather
37         than at the end of the document.
38
39 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
40
41         * Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS).
42         (AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc.
43         * Makefile.in: Regenerate.
44         * gprof.texi: Include bfdver.texi.  Report both VERSION_PACKAGE
45         and VERSION.
46
47 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
48
49         * Makefile.am (REPORT_BUGS_TO): Removed.
50         (INCLUDES): Remove -DREPORT_BUGS_TO.
51         * Makefile.in: Regenerated.
52
53         * configure.in (--with-bugurl): Removed.
54         * configure: Regenerated.
55
56 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
57
58         * gprof.c: Include bfdver.h
59         (main): Use BFD_VERSION_STRING for version number and package
60         name.
61         * Makefile.am (PKGVERSION): Remove.
62         (INCLUDES): Update.
63         Regenerate dependencies.
64         * Makefile.in: Regenerate.
65         * configure.in (PKGVERSION): Remove.
66         * configure: Regenerate.
67
68 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
69             Nathan Sidwell  <nathan@codesourcery.com>
70             Vladimir Prus  <vladimir@codesourcery.com>
71             Joseph Myers  <joseph@codesourcery.com>
72
73         * configure.in (--with-pkgversion, --with-bugurl): New options.
74         * configure: Regenerate.
75         * Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
76         (INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
77         Regenerate dependencies.
78         * Makefile.in: Regenerate.
79         * gprof.c (usage): Don't print empty REPORT_BUGS_TO.
80         (main): Include PKGVERSION in version output.
81         * gprof.h: Remove include of bin-bugs.h.
82
83 2007-01-16  Ben Elliston  <bje@au.ibm.com>
84
85         * corefile.c (parse_error): New function.
86         (read_function_mappings): Check calls to fscanf and report any
87         errors in parsing the mapping file.
88
89 2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
90
91         * Makefile.am (gprof_TEXINFOS): Set.
92         (gprof.info gprof.dvi gprof.html): Delete rule.
93         * Makefile.in: Regenerated.
94
95 2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
96
97         * configure.in: Define GENINSRC_NEVER.
98         * doc/Makefile.am (gprof.info): Remove srcdir prefix.
99         (MAINTAINERCLEANFILES): Add info file.
100         (DISTCLEANFILES): Pretend to add info file.
101         * po/Make-in (.po.gmo): Put gmo files in objdir.
102         * configure, Makefile.in: Regenerated.
103
104 2006-11-27  Nick Clifton  <nickc@redhat.com>
105
106         * po/ms.po: Updated Malay translation.
107
108 2006-11-22  Nick Clifton  <nickc@redhat.com>
109
110         * configure.in (LINGUAS): Add ms.
111         * po/ms.po: New Malay translation.
112
113 2006-10-17  Bob Wilson  <bob.wilson@acm.org>
114
115         * gprof.c (main): Fix option string for -r and -R.
116
117 2006-10-16  Bob Wilson  <bob.wilson@acm.org>
118
119         * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
120
121 2006-10-16  Bob Wilson  <bob.wilson@acm.org>
122
123         * gprof.c (main): Fix option string for -C, -n and -N.
124
125 2006-09-26  Thiemo Seufer  <ths@networkno.de>
126
127         * gprof.texi: Fix install failure.
128
129 2006-09-19  Bob Wilson  <bob.wilson@acm.org>
130
131         * gprof.texi: Use TeX-style quotes and em-dashes consistently.
132         Specify section names in cross references.  Fix typos.
133         Omit "next", "previous" and "up" fields from @node lines.
134         (SYNOPSIS): Show map_file argument to --file-ordering.
135         (Compiling): Remove extra, truncated lines from example output.
136         (Cycles): Fix references to "called" field.
137         (Internals): Allow hyphenation between file:function names.
138         (GNU Free Documentation License): Update formatting to match fdl.texi.
139
140 2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
141
142         * gprof.texi: Fix some typos.
143
144 2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
145
146         * po/Make-in (pdf, ps): New dummy targets.
147
148 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
149
150         * po/Make-in (top_builddir): Define.
151
152 2006-06-05  Alan Modra  <amodra@bigpond.net.au>
153
154         * Makefile.in: Regenerate.
155         * gconfig.in: Regenerate.
156
157 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
158
159         * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
160         and LIBINTL_DEP everywhere.
161         (INCLUDES): Use @INCINTL@.
162         * acinclude.m4: Include new gettext macros.
163         * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
164         Remove local code for po/Makefile.
165         * Makefile.in, aclocal.m4, configure: Regenerated.
166
167 2006-05-30  Nick Clifton  <nickc@redhat.com>
168
169         * po/es.po: Updated Spanish translation.
170
171 2006-05-02  James E Wilson  <wilson@specifix.com>
172
173         * gprof.c (main): When setting default output_style, add separate
174         checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.
175
176 2006-04-25  Masaki Muranaka  <monaka@monami-software.com>
177
178         PR 2587
179         * Makefile.am: Add empty rule for .m -> .o build in order to work
180         around bug in gmake shipped by Apple.
181         * Makefile.in: Regenerate.
182
183 2006-04-19  Alan Modra  <amodra@bigpond.net.au>
184
185         * configure: Regenerate.
186
187 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
188
189         * po/Make-in: Add install-html target.
190         * Makefile.am: Add install-html, install-html-am and 
191         install-html-recursive targets. 
192         * Makefile.in: Regenerate.
193         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
194         * configure: Regenerate.
195
196 2006-03-21  Ben Elliston  <bje@au.ibm.com>
197
198         * corefile.c (core_init): Report that the executable is not in the
199         expected executable format rather than "a.out" format.
200
201 2006-03-09  Nick Clifton  <nickc@redhat.com>
202
203         * po/sv.po: Updated Swedish translation.
204
205 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
206
207         * po/Make-in: Add html target.
208
209 For older changes see ChangeLog-2005
210 \f
211 Local Variables:
212 mode: change-log
213 left-margin: 8
214 fill-column: 74
215 version-control: never
216 End: