testsuite, gdb.btrace: adjust expected output to pass with clang
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 15 Dec 2020 15:18:34 +0000 (16:18 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 3 Mar 2021 08:16:45 +0000 (09:16 +0100)
commitd2c5f24eed249325d4883d6096b5dd3e8bc0ec00
treee533c12ab3eb51e28cca27e1c43e18b15a06ac64
parentc7c7253a47891ff052b85708080a12d86e1720bc
testsuite, gdb.btrace: adjust expected output to pass with clang

Clang generates slightly different debug information.  Adjust the expected
output of gdb.btrace/function_call_history.exp to work with both gcc and
clang.

Also modify gdb.btrace/exception.cc to reliably trace into main and update
the corresponding patterns in gdb.btrace/exception.exp.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.btrace/exception.cc
gdb/testsuite/gdb.btrace/exception.exp
gdb/testsuite/gdb.btrace/function_call_history.exp