]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: skip '(null)' symname frames in backtrace tests
authorMark Wielaard <mark@klomp.org>
Sat, 4 Mar 2023 20:55:56 +0000 (21:55 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 5 Mar 2023 12:15:53 +0000 (13:15 +0100)
commita7f65495258933eaf361e82eb325c9d826b455d5
treeca93a74e1712fe4d10bd1bf326980bdfb8f42e78
parenta9834d7df68afde4ee44ee8fef888cf7e799171a
tests: skip '(null)' symname frames in backtrace tests

Some setups might have some frames for unknown (null) functions
in the thread backtrace. Skip these frames instead of failing
immediately.

    * tests/backtrace.c (callback_verify): Check and skip nulls_seen.

https://sourceware.org/bugzilla/show_bug.cgi?id=29176

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/backtrace.c