This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Kill TYPE_METHODS debug 1/9
On 07/20/2017 07:31 AM, Nathan Sidwell wrote:
So I don't think I've made it worse there. thoughts?
aha, gstabs+ for gnu extensions. With a small fix I get the following
before and after (I changed the example to add another frob member).
(gdb) ptype X
type = struct X {
public:
int frob(int);
int frob(float);
X(int);
X(int);
}
The fragment I'd missed is losing:
/* Also ignore abstract methods; those are only interesting to
the DWARF backends. */
if (DECL_IGNORED_P (decl) || DECL_ABSTRACT_P (decl))
return;
which inhibits the abstract ctor.
nathan
--
Nathan Sidwell