[binutils-gdb] gprof: fix comment typos

Alan Modra amodra@sourceware.org
Sun Feb 9 22:28:48 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0a00ac1d3613632134ed0a4996e81fd62efe820d

commit 0a00ac1d3613632134ed0a4996e81fd62efe820d
Author: Richard Allen <rsaxvc@gmail.com>
Date:   Sun Feb 9 10:48:59 2025 -0600

    gprof: fix comment typos
    
    Signed-off-by: Richard Allen <rsaxvc@gmail.com>

Diff:
---
 gprof/hist.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gprof/hist.c b/gprof/hist.c
index 36393ef3b68..c87a5de6b1d 100644
--- a/gprof/hist.c
+++ b/gprof/hist.c
@@ -114,7 +114,7 @@ read_histogram_header (histogram *record,
 
   if (first)
     {
-      /* We don't try to veryfy profrate is the same for all histogram
+      /* We don't try to verify profrate is the same for all histogram
 	 records.  If we have two histogram records for the same
 	 address range and profiling samples is done as often
 	 as possible as opposed on timer, then the actual profrate will
@@ -443,7 +443,7 @@ hist_assign_samples_1 (histogram *r)
 			    total_time));
 }
 
-/* Calls 'hist_assign_sampes_1' for all histogram records read so far. */
+/* Calls 'hist_assign_samples_1' for all histogram records read so far. */
 void
 hist_assign_samples (void)
 {
@@ -724,7 +724,7 @@ hist_clip_symbol_address (bfd_vma *p_lowpc, bfd_vma *p_highpc)
     *p_highpc = *p_lowpc;
 }
 
-/* Find and return exising histogram record having the same lowpc and
+/* Find and return existing histogram record having the same lowpc and
    highpc as passed via the parameters.  Return NULL if nothing is found.
    The return value is valid until any new histogram is read.  */
 static histogram *


More information about the Binutils-cvs mailing list