aboutsummaryrefslogtreecommitdiff
path: root/include/sframe-api.h
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2024-05-16 13:55:44 +0200
committerJens Remus <jremus@linux.ibm.com>2024-05-16 14:01:59 +0200
commit42c46c4c7c35678efcd8ba5bf57ae5882cdad79d (patch)
treea44060c79b238328ccaa7eaf9f6cef30eae8f112 /include/sframe-api.h
parent15fb5989abdffd9d19b7aced839836aff7d32c94 (diff)
downloadgdb-42c46c4c7c35678efcd8ba5bf57ae5882cdad79d.zip
gdb-42c46c4c7c35678efcd8ba5bf57ae5882cdad79d.tar.gz
gdb-42c46c4c7c35678efcd8ba5bf57ae5882cdad79d.tar.bz2
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'include/sframe-api.h')
-rw-r--r--include/sframe-api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sframe-api.h b/include/sframe-api.h
index 280e285..3723760 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -152,6 +152,13 @@ extern int
sframe_find_fre (sframe_decoder_ctx *ctx, int32_t pc,
sframe_frame_row_entry *frep);
+/* Find the first SFrame Row Entry of the SFrame Function Descriptor Entry
+ which contains the PC. Returns SFRAME_ERR if failure. */
+
+int
+sframe_find_fre0 (sframe_decoder_ctx *ctx, int32_t pc,
+ sframe_frame_row_entry *frep);
+
/* Get the FRE_IDX'th FRE of the function at FUNC_IDX'th function
index entry in the SFrame decoder CTX. Returns error code as
applicable. */