This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: c++/1960: can't use typeid
- From: "Grover, Alan" <grover at kuchera dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 20 Jun 2005 11:38:02 -0000
- Subject: Re: c++/1960: can't use typeid
- Reply-to: "Grover, Alan" <grover at kuchera dot com>
The following reply was made to PR c++/1960; it has been noted by GNATS.
From: "Grover, Alan" <grover@kuchera.com>
To: <gdb-gnats@sources.redhat.com>
Cc:
Subject: Re: c++/1960: can't use typeid
Date: Mon, 20 Jun 2005 07:36:25 -0400
The problem came about trying to debug a statement of the form:
printf("Class id is %s\n", typeid(*this));
which works on most classes.=A0 One one class the printf seems to =
complete (ie, the output appears on the console), but the process gets a =
SIGSEGV and terminates at this point.=A0 Any ideas for debugging a =
problem like that would be appreciated.
Alan