This is the mail archive of the gdb@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]

Can't print values


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


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