This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]