public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: Indu Bhagat <ibhagat@sourceware.org>
To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org
Subject: [binutils-gdb] sframe: correct some typos
Date: Wed, 19 Apr 2023 21:59:53 +0000 (GMT)	[thread overview]
Message-ID: <20230419215953.0B6F03858C83@sourceware.org> (raw)

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

commit 8bb878b77785016d41447aa253821ff0a869cc56
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Wed Apr 19 14:12:17 2023 -0700

    sframe: correct some typos
    
    include/
            * sframe.h: Correct a typo.
    
    libsframe/
            * sframe.c: Likewise.

Diff:
---
 include/sframe.h   | 4 ++--
 libsframe/sframe.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/sframe.h b/include/sframe.h
index 58907d73413..c3dbb3a4097 100644
--- a/include/sframe.h
+++ b/include/sframe.h
@@ -146,9 +146,9 @@ typedef struct sframe_header
      not fixed, it is set to SFRAME_CFA_FIXED_RA_INVALID, and individual
      FREs provide the applicable stack frame offset, if any.  */
   int8_t sfh_cfa_fixed_ra_offset;
-  /* Number of bytes making up the auxilliary header, if any.
+  /* Number of bytes making up the auxiliary header, if any.
      Some ABI/arch, in the future, may use this space for extending the
-     information in SFrame header.  Auxilliary header is contained in
+     information in SFrame header.  Auxiliary header is contained in
      bytes sequentially following the sframe_header.  */
   uint8_t sfh_auxhdr_len;
   /* Number of SFrame FDEs in this SFrame section.  */
diff --git a/libsframe/sframe.c b/libsframe/sframe.c
index 907214a8a89..b2c8eacae14 100644
--- a/libsframe/sframe.c
+++ b/libsframe/sframe.c
@@ -970,7 +970,7 @@ sframe_get_funcdesc_with_addr (sframe_decoder_ctx *ctx,
       if (fdp[mid].sfde_func_start_address < addr)
 	{
 	  if (mid == (cnt - 1)) 	/* Check if it's the last one.  */
-	    return fdp + (cnt - 1) ;
+	    return fdp + (cnt - 1);
 	  else if (fdp[mid+1].sfde_func_start_address > addr)
 	    return fdp + mid;
 	  low = mid + 1;

                 reply	other threads:[~2023-04-19 21:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230419215953.0B6F03858C83@sourceware.org \
    --to=ibhagat@sourceware.org \
    --cc=bfd-cvs@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).