This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Java Inferior Call Take 2
Daniel Jacobowitz writes:
> On Thu, Jun 17, 2004 at 04:52:36PM -0400, Jeff Johnston wrote:
> > Daniel Jacobowitz wrote:
> > >On Mon, May 17, 2004 at 04:53:32PM -0400, Jeff Johnston wrote:
> > >
> > >>This is the reworked java inferior call patch. My previous attempt tried
> > >>to modify the gdb v3 abi code to handle missing debug information from
> > >>gcj. After a couple of gcc patches from Andrew Haley, the gnu-v3-abi.c
> > >>code doesn't require any tampering.
> > >>
> > >>I had to enhance dwarf2read.c to handle the java vtable name (which is
> > >>vtable) and to modify C++-only code to handle java syntax for class names.
> > >>
> > >>I have included a test case.
> > >>
> > >>Ok to commit?
> > >
> > >
> > >First of all, it doesn't work for me; I'm guessing that's because I
> > >have gcj 3.3 installed. Are the GCC changes in any released version of
> > >GCC yet, so that I can add appropriately versioned XFAILs?
> > >
> >
> > I am using current gcc sources because Andrew Haley only recently added the
> > fixes. It has to be post 3.4.0 which is the last release but prior to
> > Andrew's patches.
>
> Are you actually using GCC HEAD? Gcj does not even emit debug info for
> the local variable "x" in jprint.main using today's CVS.
<groan>
Alright, I'll have a look.
Andrew.