aboutsummaryrefslogtreecommitdiff
path: root/include/sframe-api.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 11:56:04 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 12:01:56 -0700
commita9f1da26dac0a9ee502a63c2633cf3b5dfd043b3 (patch)
tree6fa1f06f2779f43bfe5ad6a1dc3547f5da0ad558 /include/sframe-api.h
parentde4879feca3af5d8a7c6a46a8deb1adc3c2c8c0e (diff)
downloadgdb-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 'include/sframe-api.h')
-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 e62a7a3..4661492 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -173,7 +173,7 @@ extern void
dump_sframe (sframe_decoder_ctx *decoder, uint64_t addr);
/* Get the base reg id from the FRE info. Sets errp if fails. */
-extern unsigned int
+extern uint8_t
sframe_fre_get_base_reg_id (sframe_frame_row_entry *fre, int *errp);
/* Get the CFA offset from the FRE. If the offset is invalid, sets errp. */