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]
Other format: [Raw text]

Re: GCJ vs GDB


Bonjour

Is this the right mailing list ?

When debugging java code compiled with gcj

java.lang.String value = "hello world";


(gdb) p value 0x11111 "hello world"


Doing this with GDB/MI


-data-evaluate-expression value

or the var object

-var-evaluate-expression var1


the answer is "0x1111" whithout the "hello world"



Is this PR material ? known behaviour ?

Yes. No. (and weird)!


Andrew



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