]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
include: libsframe: Add API to get RA undefined
authorJens Remus <jremus@linux.ibm.com>
Wed, 15 Oct 2025 15:45:48 +0000 (17:45 +0200)
committerJens Remus <jremus@linux.ibm.com>
Wed, 15 Oct 2025 15:45:48 +0000 (17:45 +0200)
commit6ca8915c61a396e433b952b946626481acc020fe
tree62d55ac7338cc98ef7b65114e75f7241bff11b83
parent52308aeca881adb5c0cd7d29e19e41b4042d4d3a
include: libsframe: Add API to get RA undefined

SFrame FREs without any offsets will later be used to represent an
undefined return address (RA) in SFrame.  This API can then be used,
for instance by libsframe when dumping SFrame stack trace information
(e.g. in objdump and readelf), to test for RA undefined.  Other users
of libsframe need the same capability.

include/
* sframe-api.h (sframe_fre_get_ra_undefined_p): New declaration.

libsframe/
* libsframe.ver (sframe_fre_get_ra_undefined_p): List new API.
* sframe.c (sframe_fre_get_ra_undefined_p): New definition.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
include/sframe-api.h
libsframe/libsframe.ver
libsframe/sframe.c