diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2023-05-17 23:14:36 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2023-05-17 23:14:36 -0700 |
commit | efd3b63b68b56c15ba4558d937214251a4ef16df (patch) | |
tree | ac0fe48241e3369f1d2067d188813b1052d6db41 /gdb/python | |
parent | 0cc8cc5e6f82b8d3d8e3803c6f7f5e63f0c866ad (diff) | |
download | binutils-efd3b63b68b56c15ba4558d937214251a4ef16df.zip binutils-efd3b63b68b56c15ba4558d937214251a4ef16df.tar.gz binutils-efd3b63b68b56c15ba4558d937214251a4ef16df.tar.bz2 |
libsframe: testsuite: add new tests for sframe_find_fre API
libsframe provides an API to find the FRE associated with a given PC in
the program. This patch adds a direct test of this API.
In this test, we create two dummy SFrame FDEs with 4 FREs each. Then we
test that sframe_find_fre () works for the first, second, third and the
last FRE from one of the FDEs. Such a test ensures better regression
testing for the sframe_find_fre () function which is going to be the
bread and butter of an SFrame based stack tracer.
libsframe/
* Makefile.in: Regenerated.
* testsuite/libsframe.find/find.exp: New test.
* testsuite/libsframe.find/findfre-1.c: New test.
* testsuite/libsframe.find/local.mk: Build new test.
* testsuite/local.mk: Include libsframe.find.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions