[Bug rust/21893] template_argument(0) gives syntax error

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Wed Aug 2 23:34:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21893

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This happens because rustc doesn't emit DW_AT_template_type_param for
the HashMap type.

Then it interacts with a weird gdb/python thing -- in earlier times gcc
also did not emit this template information, so the first iteration of
this python layer code hacked around the omission by parsing the C++
name and extracting the type names.  This code remains, so it still tries
to do this as a fallback.

I think this is apropos: https://github.com/rust-lang/rust/issues/9224

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list