[Bug python/21257] New: gdb.Type.name is empty for pointer/array types
simon.marchi at ericsson dot com
sourceware-bugzilla@sourceware.org
Thu Mar 16 17:55:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=21257
Bug ID: 21257
Summary: gdb.Type.name is empty for pointer/array types
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: simon.marchi at ericsson dot com
Target Milestone: ---
>>> gdb.lookup_type('int').name
'int'
>>> gdb.lookup_type('int').pointer().name
>>> gdb.lookup_type('int').array(5).name
The later two commands return None. It seems to me like they should return
'int *' and 'int [5]' respectively.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list