Commit Graph

30 Commits

Author SHA1 Message Date
Nick Clifton
0e27a8f69b * corefile.c (num_of_syms_in): New function - computes the number
of symbols in a given file.
        (core_create_syms_from): New function - populates a symbol table
        from the symbols found in a specified file.
        * corefile.h: Prototype core_create_syms_from.
        * gprof.c (long_options): Add --external-symbol-table.
        (usage): Mention it.
        (main): Initiailize external_symbol_table from
        --external-symbol-table option.  If set use it.
        * gprof.texi: Document the new option.

        * NEWS: Mention new feature added to gprof.
2009-06-12 15:33:30 +00:00
Nick Clifton
c8d1c0af80 PR 7099
* gprof.texi (Compiling): Mention the need for using
        -static-libgcc on shared library systems.
2009-01-03 10:00:58 +00:00
Nick Clifton
793c580792 Change documentation license to FDL v1.3 2008-11-19 16:22:48 +00:00
Nick Clifton
25c909f1e2 * gprof.texi: Refer readers to the gcov tool if they want line-by-line profiling. 2007-06-20 09:03:52 +00:00
H.J. Lu
50b4b126b1 2007-05-24 H.J. Lu <hongjiu.lu@intel.com>
* gprof.texi: Remove orphaned "@end ignore".
2007-05-24 16:31:57 +00:00
Nick Clifton
0e9517a90d Use @copying around copyright notices 2007-05-22 09:16:39 +00:00
Vladimir Prus
b3296dc54c * hist.h (struct histogram)
(histograms, num_histograms): New.
	* hist.c (find_histogram, find_histogram_for_pc)
	(read_histogram_header): New.
	(s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
	(hist_sample): Remove.
	(hist_read_rec): Use the above, and handle multiple
	histogram records with disjoint address ranges.
	(hist_write_hist): Support several histogram records.
	(scale_and_align_entries): Adjust for multiple histograms.
	(hist_assign_samples_1): New.
	(hist_assign_samples): Use the above.
	(hist_clip_symbol_address): New.
	* hist.h (hist_check_address)
	(hist_clip_symbol_address): Declare.
	* gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
	of legacy format for multiple histogram changes.
	* corefile.c (find_call): Check for core_text_space and
	clip symbol address range here.
	* vax.c	(vax_find_call): Don't check for
	core_text_space, or clip the symbol's address range here.
	Use hist_check_address to check call's target address.
	* sparc.c: Likewise.
	* tahoe.c: Likewise.
	* i386.c: Likewise.
	* mips.c: Likewise. Also use core_text_sect->vma as the base
	address for code accesses, just like other machine-specific
	routines do.
	* gprof.texi: Adjust for the new logic.
2007-04-10 07:57:31 +00:00
Richard Sandiford
4ecceb71ac bfd/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>

	* doc/bfd.texinfo: Put the contents after the title page rather
	than at the end of the document.

binutils/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>

	* doc/binutils.texi: Put the contents after the title page rather
	than at the end of the document.

gas/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>

	* doc/as.texinfo: Put the contents after the title page rather
	than at the end of the document.

gprof/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>

	* gprof.texi: Put the contents after the title page rather
	than at the end of the document.

ld/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
	    Phil Edwards  <phil@codesourcery.com>

	* ld.texinfo: Put the contents after the title page rather
	than at the end of the document.
2007-03-28 09:08:53 +00:00
Joseph Myers
e49e529d12 bfd:
* Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi
	if nonempty.
	* configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix.
	* Makefile.in, configure, doc/Makefile.in: Regenerate.

binutils:
	* doc/binutils.texi: Include VERSION_PACKAGE when reporting
	version.

gas:
	* doc/as.texinfo: Include VERSION_PACKAGE when reporting version.

gprof:
	* Makefile.am (TEXI2POD): Include $(AM_MAKEINFOFLAGS).
	(AM_MAKEINFOFLAGS, TEXI2DVI): Define with -I ../bfd/doc.
	* Makefile.in: Regenerate.
	* gprof.texi: Include bfdver.texi.  Report both VERSION_PACKAGE
	and VERSION.

ld:
	* ld.texinfo: Include VERSION_PACKAGE when reporting version.
2007-03-22 21:18:34 +00:00
Bob Wilson
6bacc34ddf * gprof.texi (Analysis Options): Argument for -n/-N is mandatory. 2006-10-17 16:19:19 +00:00
Thiemo Seufer
19c6af1edd * gprof.texi: Fix install failure. 2006-09-26 16:24:48 +00:00
Bob Wilson
afb175693a * gprof.texi: Use TeX-style quotes and em-dashes consistently.
Specify section names in cross references.  Fix typos.
        Omit "next", "previous" and "up" fields from @node lines.
        (SYNOPSIS): Show map_file argument to --file-ordering.
        (Compiling): Remove extra, truncated lines from example output.
        (Cycles): Fix references to "called" field.
        (Internals): Allow hyphenation between file:function names.
        (GNU Free Documentation License): Update formatting to match fdl.texi.
2006-09-25 16:16:45 +00:00
Nick Clifton
b45619c047 Fix spelling typos 2006-07-24 13:49:50 +00:00
Nick Clifton
44eb18016c Update the address of the FSF 2005-05-09 06:55:25 +00:00
Alan Modra
d6a3970174 update copyright dates 2005-03-03 12:05:13 +00:00
Ben Elliston
242b25713e * gprof.texi (Output Options): Correct last patch to use @itemx, not
@item, for options with long option alternatives.
2004-05-17 11:20:29 +00:00
Ben Elliston
a1c211325f * gprof.texi (Introduction): Update synopsis.
(Output Options): Document -r and -R.
	(Analysis Options): Document -t, --table-length.
	(Miscellaneous Options): Document -h, --help.
2004-05-17 05:04:27 +00:00
Nick Clifton
1be5957932 Fix 'the the' typo 2003-11-06 11:58:58 +00:00
Nick Clifton
83b6e7e845 Minor text corrections 2003-10-31 08:59:18 +00:00
Nick Clifton
83aeabb6dd Update documentation 2003-10-29 18:21:10 +00:00
Ulrich Drepper
0c24a63fe3 (Executing the Program): Add documentation on how to use bbconv.pl. 2002-07-30 07:02:54 +00:00
Daniel Jacobowitz
913b4d4b74 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* gprof.texi: Wrap @menu in @ifnottex, not @ifinfo.
2002-03-08 04:24:19 +00:00
Nick Clifton
dbdec02b77 Bytes stored in target order, not host order. 2001-06-12 10:39:40 +00:00
Alan Modra
40f905288f man page generation from gprof.texi by Stephane Carrez 2001-04-06 12:13:40 +00:00
Nick Clifton
37503931d0 Fix typos in ChangeLog; fix dates in copyright notices 2001-03-13 21:07:30 +00:00
Nick Clifton
cf055d540c Add GNU Free Documentation License 2000-11-06 20:27:26 +00:00
Nick Clifton
28c309a287 Add optional style argument to --demangle switch. 2000-07-20 18:02:56 +00:00
Alan Modra
5af11cab92 Eli Zaretskii's DOSish file name patches. 2000-05-26 13:11:57 +00:00
Andreas Schwab
a53f781e57 Fix typo. 1999-06-14 01:36:32 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00