This is the mail archive of the
mailing list for the GDB project.
Re: [rfa] allocate_objfile(NULL, 0)
>>>>> "David" == David Carlton <email@example.com> writes:
David> I'm no Java expert, but here's the situation as I understand
David> it. When evaluating Java code, sometimes you have to generate
David> new Java classes in an unpredictable manner.
David> Alas, I don't know enough Java to be able to create a test
I don't know very much about this part of gdb. However, I can say
that in libgcj we create classes on the fly to represent arrays. Even
the simplest Java program will create at least one such array (for
public class t
public static void main(String args)
Then compile with:
gcj --main=t -o t t.java
There is at least one longstanding gdb SEGV that happens when trying
to re-run a Java executable. This happens in most, but not every, gdb
Unfortunately I can't try your patch in the near future.