cp-tools-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cp-tools-discuss] gnu.bytecode


From: Per Bothner
Subject: Re: [Cp-tools-discuss] gnu.bytecode
Date: Mon, 07 Feb 2005 09:55:05 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Elliott Hughes wrote:
if people are interested in having the result, i'm happy to write a patch that modifies ClassTypeWriter, CodeAttr, and Variable so that i can whittle away more of GjDump.

The syntax looks reasonable to me, but I'll let other weigh in.
I'll happy to wok with you an changing gnu.bytecode to make it
more flexible.

BTW the jcf-dump version (written in C rather than Java) that is
checked into the Gcc CVS source tree no longer by default prints the
constant pool nor list indexes into constant pool.
So the default dis-assembly you get:
 11: ldc <String "Variable enumeration">
To get constant pool indexes use the --verbose flag:
 11: ldc #3=<String "Variable enumeration">

I haven't made this change in the gnu.bytecode version, but
it woudl make the default output more readable.
--
        --Per Bothner
address@hidden   http://per.bothner.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]