This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug d/22480] New: `ptype` returns `struct` for D classes
- From: "b2.temp at gmx dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Nov 2017 01:13:38 +0000
- Subject: [Bug d/22480] New: `ptype` returns `struct` for D classes
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22480
Bug ID: 22480
Summary: `ptype` returns `struct` for D classes
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: d
Assignee: unassigned at sourceware dot org
Reporter: b2.temp at gmx dot com
Target Milestone: ---
---
module runnable;
class A {}
void main()
{
A a;
}
---
`ptype a`
gives
---
type = struct runnable.A {
<no data fields>
} *
---
which means that there's not the hint required if we must
`print a`
or
`print *a`
the later syntax is required for a class.
--
You are receiving this mail because:
You are on the CC list for the bug.