[RFA] Add NormalBreakpoint

Tom Tromey tromey@redhat.com
Wed Jun 13 22:51:00 GMT 2007


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> I've been working on getting VMVM.executeMethod working, and I need to
Keith> refactor our breakpoint support. The attached patch breaks
Keith> gnu.gcj.jvmti.Breakpoint into two classes. "Breakpoint" will be a base
Keith> class for breakpoint classes. "NormalBreakpoint" is (as it sounds) a
Keith> "normal" breakpoint. Functionally this patch is a nop.

This is fine by me but I do have one question.

Keith>  public class Breakpoint
Keith>  {
Keith> +  // Type of this breakpoint
Keith> +  protected int type;

What is this field intended for?
Right now it is only set to NormalBreakpoint.TYPE.

Tom



More information about the Java-patches mailing list