diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2023-05-17 23:14:52 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2023-05-17 23:14:52 -0700 |
commit | 6a99f006ecadaf604258b583dec642de2d6f88ec (patch) | |
tree | 22a1587047c725d0aaf94dd501ea13c8a681f979 /config-ml.in | |
parent | efd3b63b68b56c15ba4558d937214251a4ef16df (diff) | |
download | gdb-6a99f006ecadaf604258b583dec642de2d6f88ec.zip gdb-6a99f006ecadaf604258b583dec642de2d6f88ec.tar.gz gdb-6a99f006ecadaf604258b583dec642de2d6f88ec.tar.bz2 |
libsframe: testsuite: add tests for sframe_get_funcdesc_with_addr API
sframe_get_funcdesc_with_addr API is currently used internally by the
sframe_find_fre ().
In this test, we create three dummy SFrame FDEs with 4 FREs each. Then,
we use few negative tests to lookup FREs with PCs not in the range of
PCs covered by the FDEs, ensuring graceful return from
sframe_get_funcdesc_with_addr in all cases. Some positive tests are
also added that exercise further scenarios as well.
libsframe/
* Makefile.in: Regenerated.
* testsuite/libsframe.find/find.exp: Include new test.
* testsuite/libsframe.find/findfunc-1.c: New Test.
* testsuite/libsframe.find/local.mk: Include new test.
Diffstat (limited to 'config-ml.in')
0 files changed, 0 insertions, 0 deletions