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 python/22686] New: gdb.lookup_type fails for array types


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.

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