Fix and update D demangling support in gdb to the current mangling ABI.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 18 Jan 2014 17:22:00 +0000 (17:22 +0000)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 18 Jan 2014 18:11:06 +0000 (18:11 +0000)
commitec9f644ac9d154de4dde490bb1174be09c8fc540
treee5a475777b60c8b876871fd411440673af5c9622
parent94b1b47ee13476f376feddf808c63560c036cf1b
Fix and update D demangling support in gdb to the current mangling ABI.

gdb/ChangeLog:
2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>

    * d-lang.h (d_parse_symbol): Add declaration.
    * d-lang.c (extract_identifiers)
    (extract_type_info): Remove functions.
    (parse_call_convention, parse_attributes)
    (parse_function_types, parse_function_args)
    (parse_type, parse_identifier, call_convention_p)
    (d_parse_symbol): New functions.
    (d_demangle): Use d_parse_symbol to demangle D symbols.

gdb/testsuite/ChangeLog:
2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>

* gdb.dlang/demangle.exp: New file.
gdb/ChangeLog
gdb/d-lang.c
gdb/d-lang.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dlang/demangle.exp [new file with mode: 0644]