This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Can't print values
- To: Gdb List <gdb at sources dot redhat dot com>
- Subject: Can't print values
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Aug 2001 09:28:52 -0600
- Reply-To: tromey at redhat dot com
I updated and rebuilt gdb from the trunk last night.
When debugging my application I get errors like this:
(gdb) p klass->methods
Value can't be converted to integer.
(gdb) p klass->methods[i]
Value can't be converted to integer.
(gdb) whatis klass->methods
type = _Jv_Method *
(gdb) p *klass
Value can't be converted to integer.
I'm debugging a Java application, but this particular stack frame is
C++.
I'm using x86 Red Hat Linux 6.2.
Tom