This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Some questions
- To: Mark Wielaard <mark at klomp dot org>
- Subject: Re: Some questions
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- Date: Thu, 12 Jul 2001 13:04:11 +0100 (BST)
- Cc: Martin Kahlert <martin dot kahlert at infineon dot com>, java at gcc dot gnu dot org,tromey at redhat dot com
- References: <20010712102137.A6000@keksy.muc.infineon.com><20010712134851.E6790@klomp.org>
Mark Wielaard writes:
> This looks a bit like the bug discussed in
> <http://gcc.gnu.org/ml/java/2001-05/msg00277.html>
> <http://gcc.gnu.org/ml/java/2001-06/msg00003.html>
>
> Maybe the patch in those emails helps?
> Note that I don't know exactly why it fixes the problem in that case
> and nobody else seems to have looked at it.
I don't think that the patch can be correct. We need to find out why
_Jv_FindClass returns null in this case. I've never seen this happen.
>
> > How do you guys debug? Where do i have to set a breakpoint and in which
> > thread?
I don't understand the issue here. Surely all that is required is to
add a line like
if (catch_type = NULL)
printf ("BANG\n");
and use gdb to put a breakpoint on that line. Are you not familiar
with gdb?
Andrew.