From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7850) id 0B6F03858C83; Wed, 19 Apr 2023 21:59:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B6F03858C83 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Indu Bhagat To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] sframe: correct some typos X-Act-Checkin: binutils-gdb X-Git-Author: Indu Bhagat X-Git-Refname: refs/heads/master X-Git-Oldrev: 26be6015b750e7e2b40718b09c6195e8986be461 X-Git-Newrev: 8bb878b77785016d41447aa253821ff0a869cc56 Message-Id: <20230419215953.0B6F03858C83@sourceware.org> Date: Wed, 19 Apr 2023 21:59:53 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2023 21:59:53 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D8bb878b77785= 016d41447aa253821ff0a869cc56 commit 8bb878b77785016d41447aa253821ff0a869cc56 Author: Indu Bhagat Date: Wed Apr 19 14:12:17 2023 -0700 sframe: correct some typos =20 include/ * sframe.h: Correct a typo. =20 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 =3D=3D (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 =3D mid + 1;