This is the mail archive of the
mailing list for the Java project.
Re: GCJ not using java.lang.Exception in libgcj.jar??
-----BEGIN PGP SIGNED MESSAGE-----
Tom Tromey <firstname.lastname@example.org> writes:
> >>>>> "Kevin" == Kevin A Burton <email@example.com> writes:
> Kevin> I am trying to "port" JavaCore (
> Kevin> http://javacore.sourceforge.net ) from JDK 1.1.8 to GCJ. While
> Kevin> everything compiles correctly the installation of JavaCore is
> Kevin> "tricky" and I wanted to post here to get more information.
> I went and read a bit about JavaCore.
> I'm curious to know -- is this something that would really be useful
> in conjunction with libgcj? I've never actually used a typical Java
> debugger. I just use gdb, which works fairly well (but far from
> perfectly) with gcj applications.
I don't know. I think at least there should be a pointer to it. It can add
complexity to a JVM (which could cause errors) and will slow things down a
> I suppose we could have gcj generate core files in some situations.
JavaCore conditionally dumps... The defaults are basically any
RuntimeException.. but if you are developing a complex application you can add
your own custom additions.
> Right now that would be of limited usefulness on Linux, though,
> because as far as I know Linux can't create a core file which
> represents more than a single thread.
It isn't really a 'core' file in the traditional sense. It is an XML file with
represents the internal state of your JVM. Where classes were loaded from,
current stack trace, etc, etc. It would be nice to see some sort of JPDA in GCJ
so that I can dump values, thread info, open TCP ports, etc.
I think it is more of a developer tool and not an OS/compiler trick.
Kevin A. Burton ( firstname.lastname@example.org, email@example.com, firstname.lastname@example.org )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596
Questions are the beginning of wisdom.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
-----END PGP SIGNATURE-----
Delta Force Kennedy Soviet kibo Albanian Ft. Meade counter-intelligence Legion
of Doom Serbian cracking Khaddafi Qaddafi AK-47 Treasury Honduras