problem in kaffe jit code debugging using gdb
Archie Cobbs
archie at whistle.com
Sun Oct 3 11:25:19 PDT 1999
Veeral Shah writes:
> Nature Of Problem : Unable to debug Kaffe JIt with gdb/jdb..
Hm.. this problem must be specific to your platform (which is..?)
> (gdb) run
> /sarva/me/98/csashah/kaffe/libexec/Kaffe sun.tools.ttydebug.TTY
> Kaffe Str
>
> Could not initialize Kaffe.
>
> It's likely that your CLASSPATH settings are wrong. Please make sure
> your CLASSPATH does not include any java.lang.* classes from other JVM
> vendors, such as Sun's classes.zip, BEFORE Kaffe's Klasses.jar.
> It is okay to have classes.zip AFTER Klasses.jar
>
> The current effective classpath is
> `.:/usr/pubpkg/java/jdk1.1.1/lib/classes.zip'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is obviously wrong-- you're picking up the JDK classfiles.
Make sure your ".cshrc" or ".profile" doesn't reset CLASSPATH;
as gdb reads these files when it starts up a process.
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe
mailing list