diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2023-06-27 11:56:04 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2023-06-27 12:01:56 -0700 |
commit | a9f1da26dac0a9ee502a63c2633cf3b5dfd043b3 (patch) | |
tree | 6fa1f06f2779f43bfe5ad6a1dc3547f5da0ad558 /libsframe/sframe.c | |
parent | de4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e (diff) | |
download | gdb-a9f1da26dac0a9ee502a63c2633cf3b5dfd043b3.zip gdb-a9f1da26dac0a9ee502a63c2633cf3b5dfd043b3.tar.gz gdb-a9f1da26dac0a9ee502a63c2633cf3b5dfd043b3.tar.bz2 |
libsframe: use uint8_t for return type of sframe_fre_get_base_reg_id
Use a more appropriate data type.
include/
* sframe-api.h (sframe_fre_get_base_reg_id): Use uint8_t as
return type.
libsframe/
* sframe-dump.c (dump_sframe_func_with_fres): Use uint8_t type
for base reg id.
* sframe.c (sframe_fre_get_base_reg_id): Use uin8_t as return
type.
Diffstat (limited to 'libsframe/sframe.c')
-rw-r--r-- | libsframe/sframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsframe/sframe.c b/libsframe/sframe.c index 2d7e4a4..b885e3d 100644 --- a/libsframe/sframe.c +++ b/libsframe/sframe.c @@ -618,7 +618,7 @@ sframe_calc_fre_type (size_t func_size) /* Get the base reg id from the FRE info. Set errp if failure. */ -unsigned int +uint8_t sframe_fre_get_base_reg_id (sframe_frame_row_entry *fre, int *errp) { if (fre == NULL) |