]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb.base/break.exp C++ify
authorPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 22:33:40 +0000 (23:33 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 17 Sep 2020 23:04:12 +0000 (00:04 +0100)
commit52bb090268881cfa1ab615273e281610935f2f95
tree0848384d943da502513b5c9a3917c24de1a5e56b
parent73e18ac9dab5b395fefa2034c7b9829425629b57
gdb.base/break.exp C++ify

Some adjustments to make gdb.base/break.exp work when compiled as a
C++ program.  Passes cleanly with Clang++, but not with G++.  The
latter puts a breakpoint at an unexpected line in one case.  It seems
like a bug that gcc and g++ behave differently here.

gdb/testsuite/ChangeLog:

* gdb.base/break.exp (func): New.  Use it throughout when
expecting a function name.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break.exp