diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2023-06-27 11:55:59 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2023-06-27 12:01:56 -0700 |
commit | de4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e (patch) | |
tree | be918041748712799c470e5df5a6d43162f6afdf /include/sframe-api.h | |
parent | 49e4485cba2fa322a649b39c8a05dae8b421331d (diff) | |
download | gdb-de4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e.zip gdb-de4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e.tar.gz gdb-de4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e.tar.bz2 |
libsframe: use uint8_t instead of unsigned char for abi_arch
Use uint8_t consistently for identifying ABI/arch in SFrame format.
bfd/
* elf-sframe.c (_bfd_elf_merge_section_sframe):
libsframe/
* sframe-dump.c (is_sframe_abi_arch_aarch64): Use uint8_t for
local variable.
* sframe.c (sframe_decoder_get_abi_arch): Update return type to
uint8_t.
(sframe_encoder_get_abi_arch): Likewise.
include/
* sframe-api.h (sframe_decoder_get_abi_arch): Likewise.
(sframe_encoder_get_abi_arch): Likewise.
Diffstat (limited to 'include/sframe-api.h')
-rw-r--r-- | include/sframe-api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sframe-api.h b/include/sframe-api.h index 70829ec..e62a7a3 100644 --- a/include/sframe-api.h +++ b/include/sframe-api.h @@ -117,7 +117,7 @@ extern unsigned int sframe_decoder_get_hdr_size (sframe_decoder_ctx *dctx); /* Get the SFrame's abi/arch info. */ -extern unsigned char +extern uint8_t sframe_decoder_get_abi_arch (sframe_decoder_ctx *dctx); /* Return the number of function descriptor entries in the SFrame decoder @@ -214,7 +214,7 @@ extern unsigned int sframe_encoder_get_hdr_size (sframe_encoder_ctx *encoder); /* Get the abi/arch info from the SFrame encoder context CTX. */ -extern unsigned char +extern uint8_t sframe_encoder_get_abi_arch (sframe_encoder_ctx *encoder); /* Return the number of function descriptor entries in the SFrame encoder |