This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB 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: c++/1960: can't use typeid


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
 
 


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