This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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] |
Olivier Parisy wrote:
> Considering the disassembled code above, this hypothesis looks > rather robust.
No. Look at the opcodes for the instructions comprising the prologue - it's "0x55 0x8B 0xEC" instead of the "0x55 0x89 0xE5" assumed by the code. Both represent "PUSH ebp; MOV ebp, esp", but the encoding used is different.
If you want to continue with the existing kludge, you can modify "libjava/sysdep/i386/backtrace.h" like so: [...]
recompile libjava and see if it fixes your problem.
A "proper" solution would be to use a prologue analyser like that used in GDB:
http://sources.redhat.com/gdb/onlinedocs/gdbint_3.html#SEC8
but that is too much work for too little a gain.
Best regards, Olivier Parisy.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |