This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: gdb and gcj: understandings


On Saturday, October 26, 2002, at 02:52  PM, Nic Ferrier wrote:

When I do:

   gdb) p *classes->name

or

   gdb) p *classes->name


I get the following message and nothing else:

   can't find class named java::lang::Class as given by C++ RTTI



Is this because the Class has not been setup yet because GCJ has not
inited? (which would be unfixable) or is it something else that I
could fix (and thus interogate the values properly).

I had a work around for this when I was last debugging class stuff. "set lang C"? I think maybe I also hacked gdb to not print the error.

regards

Bryce.


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