[PATCH 5/5] Fix for D demangling in GDB

Iain Buclaw ibuclaw@gdcproject.org
Sat Jan 11 20:08:00 GMT 2014


On 10 January 2014 21:43, Tom Tromey <tromey@redhat.com> wrote:
>
> Other than the nits and the remaining test suite thing, this looks good.
> Thanks again for splitting the patch.
>
> Tom

Updated with nits, testsuite, and explicit null pointer checks.

Changelog entry same as before:

    gdb/

        * 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/

        * gdb.dlang/demangle.exp: New file.

---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlang-p5a.patch
Type: text/x-diff
Size: 36143 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140111/b1702c4f/attachment.bin>


More information about the Gdb-patches mailing list