This is the mail archive of the gdb-patches@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: [RFA]: Java Inferior Call Take 2


On Wed, Jun 23, 2004 at 05:05:57PM +0100, Andrew Haley wrote:
> Daniel Jacobowitz writes:
>  > The other question: I looked at fixing the debug info to print field
>  > names correctly.  The reason it's wrong is that dwarf2out uses the
>  > decl_printable_name langhook.  Java doesn't use the second argument,
>  > which the common code assumes is verbosity.  Common code always passes
>  > '2', which matches what Java's does, except in three places: mudflap
>  > (???), the C tree pretty printer, and this call in dwarf2out used to
>  > set the name of decls.  Java mostly passes 0 since it knows the value
>  > is ignored.  Any reason not to fix up the Java frontend to pass 2,
>  > extend the function to handle smaller values, and thus correct the
>  > debug output?
> 
> Yes, I can do that.

Great - it'll probably take you a lot less time than it would take me
:)  If you can take care of this, I'll make sure GDB still behaves
correctly.

-- 
Daniel Jacobowitz


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