[gdb/testsuite] Add test-case gdb.dwarf2/break-inline-psymtab.exp
authorTom de Vries <tdevries@suse.de>
Wed, 18 Mar 2020 13:40:49 +0000 (14:40 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 18 Mar 2020 13:40:49 +0000 (14:40 +0100)
commita9933ccf467ac771747db9dba541afdf1b72a3f8
tree97983fe98abdc4edadf7a72ee3b150550a294cb6
parentaef397a1548908f82907854a6efc0cd4c0539904
[gdb/testsuite] Add test-case gdb.dwarf2/break-inline-psymtab.exp

Add a test-case that tests whether we can set a breakpoint on an inlined
inline function in CU for which the partial symtab has not yet been expanded.

Tested on x86_64-linux, with gcc 4.8.5, gcc-7.5.0, gcc-10.0.1, and clang
5.0.2.

gdb/testsuite/ChangeLog:

2020-03-18  Tom de Vries  <tdevries@suse.de>

* gdb.dwarf2/break-inline-psymtab-2.c: New test.
* gdb.dwarf2/break-inline-psymtab.c: New test.
* gdb.dwarf2/break-inline-psymtab.exp: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/break-inline-psymtab-2.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/break-inline-psymtab.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/break-inline-psymtab.exp [new file with mode: 0644]