This is the mail archive of the gdb@sourceware.org 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: Some java questions


Tom Tromey wrote:

To support Java 1.5, we had to add return types to name mangling.
These are needed due to covariant return types.

Ah, okay, that explains a lot.


What you are seeing here is just how the demangler chooses to print
this information.  E.g., when I 'nm --demangle=java' a simple java
program, I see:

0804891e T h.main(java.lang.String[])void
         U java.lang.Object.toString()java.lang.String
[etc]

Yuck. Nonetheless, it looks like that's the status quo, and I need to fix it. I'll also look into either fixing the "info func" printout or at least add a test case for that so that it doesn't disappear.


Keith


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