This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/22686] New: gdb.lookup_type fails for array types
- From: "jwakely.gcc at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 09 Jan 2018 21:47:08 +0000
- Subject: [Bug python/22686] New: gdb.lookup_type fails for array types
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22686
Bug ID: 22686
Summary: gdb.lookup_type fails for array types
Product: gdb
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: jwakely.gcc at gmail dot com
Target Milestone: ---
(gdb) py gdb.lookup_type("int []")
Traceback (most recent call last):
File "<string>", line 1, in <module>
gdb.error: No type named int [].
Error while executing Python code.
(gdb) py gdb.lookup_type("int [2]")
Traceback (most recent call last):
File "<string>", line 1, in <module>
gdb.error: No type named int [2].
Error while executing Python code.
Such types can occur as C++ template parameters, e.g. std::unique_ptr<int[]> or
std::is_array<int[2]>
--
You are receiving this mail because:
You are on the CC list for the bug.