aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-06-22 15:58:09 +0200
committerTom de Vries <tdevries@suse.de>2021-06-22 15:58:09 +0200
commite5b771060e42232b6d70e9fce0e6907bc979ef21 (patch)
treecf04e6e2dd5af04a2c498bbf5414f5a743d2ea9e /gdb/testsuite/ChangeLog
parent50331d64f1080c2c9957fb608e0af236b96c1a41 (diff)
downloadbinutils-e5b771060e42232b6d70e9fce0e6907bc979ef21.zip
binutils-e5b771060e42232b6d70e9fce0e6907bc979ef21.tar.gz
binutils-e5b771060e42232b6d70e9fce0e6907bc979ef21.tar.bz2
[gdb/testsuite] Add gdb.dwarf2/imported-unit-c.exp
This test-case is intended to excercise this code in process_imported_unit_die: ... /* We're importing a C++ compilation unit with tag DW_TAG_compile_unit into another compilation unit, at root level. Regard this as a hint, and ignore it. */ if (die->parent && die->parent->parent == NULL && per_cu->unit_type == DW_UT_compile && per_cu->lang == language_cplus) return; ... in the sense that the test-case should fail if the "per_cu->lang == language_cplus" clause is removed. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2021-06-22 Tom de Vries <tdevries@suse.de> * gdb.dwarf2/imported-unit-c.exp: New file.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 88f8d96..b0db1c8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-22 Tom de Vries <tdevries@suse.de>
+
+ * gdb.dwarf2/imported-unit-c.exp: New file.
+
2021-06-22 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.server/server-kill.exp: Introduce global kill_pid_of, and