diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2017-07-11 09:51:03 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2017-07-11 09:51:03 +0200 |
commit | 11cb57160f4053e9dce292b461c035dcc563fdb7 (patch) | |
tree | d09ba186f2adac5b0862d176d4c767fa38922d29 | |
parent | 36cebdda8069aa04272e8fe6b5ec751a4ed55c68 (diff) | |
download | gdb-11cb57160f4053e9dce292b461c035dcc563fdb7.zip gdb-11cb57160f4053e9dce292b461c035dcc563fdb7.tar.gz gdb-11cb57160f4053e9dce292b461c035dcc563fdb7.tar.bz2 |
Sync dlang demangling tests from upstream libiberty testsuite.
Rationale behind the change instead of adding a `.init$' postfix being
that "initializer for symbol" is much more informative when inspecting D
runtime type information in gdb, which is the only place where you would
encounter references to this compiler-generated symbol.
gdb/testsuite/ChangeLog:
* gdb.dlang/demangle.exp: Update for demangling changes.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dlang/demangle.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6b22498..aa3dee3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org> + + * gdb.dlang/demangle.exp: Update for demangling changes. + 2017-07-09 Tom Tromey <tom@tromey.com> * gdb.dwarf2/shortpiece.exp: New file. diff --git a/gdb/testsuite/gdb.dlang/demangle.exp b/gdb/testsuite/gdb.dlang/demangle.exp index baf6d6f..fcb353a 100644 --- a/gdb/testsuite/gdb.dlang/demangle.exp +++ b/gdb/testsuite/gdb.dlang/demangle.exp @@ -146,7 +146,7 @@ proc test_d_demangling {} { test_demangling "_D8demangle4testFPFNdNfNaZaZv" "demangle.test(char() @property @safe pure function)" test_demangling "_D8demangle4test6__vtblZ" "vtable for demangle.test" - test_demangling "_D8demangle4test6__initZ" "demangle.test.init$" + test_demangling "_D8demangle4test6__initZ" "initializer for demangle.test" test_demangling "_D8demangle4test12__ModuleInfoZ" "ModuleInfo for demangle.test" test_demangling "_D8demangle4test7__ClassZ" "ClassInfo for demangle.test" test_demangling "_D8demangle4test11__InterfaceZ" "Interface for demangle.test" |