]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Add test case for gdb 10 crash
authorTom Tromey <tromey@adacore.com>
Mon, 26 Apr 2021 15:53:32 +0000 (09:53 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 26 Apr 2021 15:53:32 +0000 (09:53 -0600)
commite8b6c1da565c93f015d93a4f8554830118e9bd07
tree5aad18592919bf242632ee75f9ffcdf075d64a0d
parentbea3329b76cf131ad4ac27acb6728b38984998b9
Add test case for gdb 10 crash

PR gdb/27743 points out a gdb crash when expanding partial symtabs,
where one of the compilation units uses DW_TAG_imported_unit.

This crash happens for gdb 10, but not git trunk.  This patch pulls
over the new test case only.

gdb/testsuite/ChangeLog
2021-04-26  Tom Tromey  <tromey@adacore.com>

PR gdb/27743:
* gdb.dwarf2/imported-unit-bp.exp: New file.
* gdb.dwarf2/imported-unit-bp-main.c: New file.
* gdb.dwarf2/imported-unit-bp-alt.c: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/imported-unit-bp-alt.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/imported-unit-bp-main.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/imported-unit-bp.exp [new file with mode: 0644]