aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 11:55:08 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 12:01:56 -0700
commit100d405dae25ed30fd823ab78a7db59303494b6f (patch)
treeee478de43ef8bfcf74fa092197189dfbe582a09a /include
parent526960c9121d58a532a8c32752f134bb1e0f76b4 (diff)
downloadgdb-100d405dae25ed30fd823ab78a7db59303494b6f.zip
gdb-100d405dae25ed30fd823ab78a7db59303494b6f.tar.gz
gdb-100d405dae25ed30fd823ab78a7db59303494b6f.tar.bz2
libsframe: use uint32_t for fre_type and fde_type function args
The API sframe_fde_create_func_info is provided by libsframe. Current users are the bfd linker. Adjust the argument type for the variables carrying the SFrame FRE type and SFrame FDE type to consistenly use uint32_t type alias. include/ * sframe-api.h (sframe_fde_create_func_info): Use uint32_t instead of unsigned int. libsframe/ * sframe.c (sframe_get_fre_type): Likewise. (sframe_get_fde_type): Likewise. (flip_fre_start_address): Likewise. (sframe_fre_start_addr_size): Likewise. (sframe_fre_entry_size): Likewise. (flip_fre): Likewise. (flip_sframe): Likewise. (sframe_fde_create_func_info): Likewise. (sframe_calc_fre_type): Likewise. (sframe_decode_fre_start_address): Likewise. (sframe_decode_fre): Likewise. (sframe_find_fre): Likewise. (sframe_decoder_get_fre): Likewise. (sframe_encoder_add_fre): Likewise. (sframe_encoder_write_fre_start_addr): Likewise. (sframe_encoder_write_fre): Likewise. (sframe_encoder_write_sframe): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/sframe-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sframe-api.h b/include/sframe-api.h
index a00303a..d04ebe8 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -94,7 +94,7 @@ sframe_errmsg (int error);
/* Create an FDE function info bye given an FRE_TYPE and an FDE_TYPE. */
extern unsigned char
-sframe_fde_create_func_info (unsigned int fre_type, unsigned int fde_type);
+sframe_fde_create_func_info (uint32_t fre_type, uint32_t fde_type);
/* Gather the FRE type given the function size. */