This is the mail archive of the archer@sourceware.org mailing list for the Archer 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]

Re: Estimates for gdb bugzillas


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 {
}


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