]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove some TODOs from gdb.cp tests
authorTom Tromey <tromey@adacore.com>
Mon, 10 Jul 2023 16:22:33 +0000 (10:22 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 11 Jul 2023 14:53:34 +0000 (08:53 -0600)
commit606d863236197cc2fbf74edf589cbaf35ea15801
tree8dca85eaf472158636aec32e4b327769aa570df5
parent034b6bec547084b19e39b051b3dbab7f9b8b4f23
Remove some TODOs from gdb.cp tests

This patch removes many TODOs from the gdb.cp tests.
Going through the patch:

* bs15503.exp - these have been commented out forever and rely on
  libstdc++ debuginfo.  It's better to just remove these.

* classes.exp - the test is wrong, I think, according to the C++ ABI
  that gdb understands; and the test can be fixed and comments removed
  with a simple change to the code.

* ctti.exp - there's no need to bail out any more, as the test works.

* exception.exp - the code relying on the line numbers can't work,
  because gdb never prints that message anyway.

Reviewed-By: Bruno Larsen <blarsen@redhat.com>
gdb/testsuite/gdb.cp/bs15503.exp
gdb/testsuite/gdb.cp/classes.cc
gdb/testsuite/gdb.cp/classes.exp
gdb/testsuite/gdb.cp/ctti.exp
gdb/testsuite/gdb.cp/exception.exp