Can't print values

Tom Tromey tromey@redhat.com
Thu Aug 23 07:54:00 GMT 2001


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



More information about the Gdb mailing list