This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Java Inferior Call Take 2
>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
Daniel> In C++, the debug information marks whether a constructor was written
Daniel> by the user (i.e. the type really contains a constructor) or by the
Daniel> compiler (i.e. implicit). I imagine Java's debug information has the
Daniel> same thing.
The information is there, though I don't know whether gcj puts it
into the .o.
Daniel> (This shouldn't affect breakpointing it for users who know the
Daniel> constructor exists.)
It is also actually useful on occasion to put a breakpoint on <clinit>.
This can let you see when your class is initialized, and it will let
you step through the static blocks and static field initializers.
Tom