]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
testsuite, gdb.btrace: adjust expected source line in non-stop.exp
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 17 Dec 2020 09:28:18 +0000 (10:28 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 3 Mar 2021 08:18:18 +0000 (09:18 +0100)
commit32c5299909162c116728eff2580fc5c3e707af6d
treefbeefe7b2703124e4057110d181fbed39cea2cd0
parent26ed1478d1dd5568b3093476c07bcf36e0047443
testsuite, gdb.btrace: adjust expected source line in non-stop.exp

In gdb.btrace/non-stop.exp, we hard-code expected source lines assuming we
know how they would match to the recorded trace.  Despite the fact that we
should really have been using an assembly source, the assumptions work
pretty well.

With clang-6 -m32, we found a case where the assumptions do not hold.
Adjust the expected source lines a little bit to cover that case, as well.

Should we run into more cases like this, we will have to switch to an
assembly source file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.btrace/non-stop.exp