This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Estimates for gdb bugzillas
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Rick Moseley <rmoseley at redhat dot com>
- Cc: Project Archer <archer at sourceware dot org>
- Date: Thu, 28 Aug 2008 23:43:54 +0200
- Subject: Re: Estimates for gdb bugzillas
- References: <48B6FAEA.8030908@redhat.com>
Hi,
On Thu, 28 Aug 2008 21:22:18 +0200, Rick Moseley wrote:
> For bz 1734 (gdb does not store an empty class) I would guesstimate
> about a month for this if it is indeed a gdb problem. It may take some
> more digging to be sure it is and not a gcc problem. If anyone knows
> more, please jump in.
I find it in fact fixed by RH Bug 233716 and the upstream commit:
http://sourceware.org/ml/gdb-cvs/2007-04/msg00037.html
Now it is just a bit inconsitently as it sometimes prints/does not print
`<no data fields>' which would be nice to clean up. In fact I would just
remove the message as for stub(*) types it already prints: <incomplete type>
Regards,
Jan
(*) TYPE_STUB: Declaration without a definition found in any Compilation Unit.
(gdb) ptype E0
type = class E0 {
}
(gdb) ptype E1
type = struct E1 {
<no data fields>
}
(gdb) ptype E2
type = class E2 : public E0 {
}
(gdb) ptype ge0
type = class E0 {
}
(gdb) ptype ge1
type = struct E1 {
<no data fields>
}
(gdb) ptype ge2
type = class E2 : public E0 {
}
(gdb) ptype ge3
type = class E3 : public E2 {
}
(gdb) ptype ge4
type = class E4 : public E0, public E1 {
}
(gdb) ptype ge5
type = class E5 : public virtual E0 {
}
(gdb) ptype ge0
type = class E0 {
}
(gdb) ptype ge1
type = struct E1 {
<no data fields>
}
(gdb) ptype ge2
type = class E2 : public E0 {
}