gdb/testsuite: allowed for function_range to deal with mangled functions
authorBruno Larsen <blarsen@redhat.com>
Wed, 12 Oct 2022 12:51:10 +0000 (14:51 +0200)
committerBruno Larsen <blarsen@redhat.com>
Thu, 10 Nov 2022 13:51:49 +0000 (14:51 +0100)
commit2acccd0a59af7a04e341d31f68b370486d5fc474
tree6649f7bc51f6fe4871408bbd7cf0c8e20a4301f1
parent1b377e4960438810a137aaedc1ff16a2e2114e9d
gdb/testsuite: allowed for function_range to deal with mangled functions

When calling get_func_info inside a test case, it would cause failures
if the function was printed using a C++ style mangled name. The current
patch fixes this by allowing for mangled names along with the current
rules.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/lib/dwarf.exp