diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2023-04-19 14:12:17 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2023-04-19 14:37:59 -0700 |
commit | 8bb878b77785016d41447aa253821ff0a869cc56 (patch) | |
tree | 64e4091dde84108090a762536a869e1327bedb1d | |
parent | 26be6015b750e7e2b40718b09c6195e8986be461 (diff) | |
download | fsf-binutils-gdb-8bb878b77785016d41447aa253821ff0a869cc56.zip fsf-binutils-gdb-8bb878b77785016d41447aa253821ff0a869cc56.tar.gz fsf-binutils-gdb-8bb878b77785016d41447aa253821ff0a869cc56.tar.bz2 |
sframe: correct some typos
include/
* sframe.h: Correct a typo.
libsframe/
* sframe.c: Likewise.
-rw-r--r-- | include/sframe.h | 4 | ||||
-rw-r--r-- | libsframe/sframe.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sframe.h b/include/sframe.h index 58907d7..c3dbb3a 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 907214a..b2c8eac 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; |