[RFA] Add NormalBreakpoint
Keith Seitz
keiths@redhat.com
Wed Jun 13 08:49:00 GMT 2007
Hi,
I've been working on getting VMVM.executeMethod working, and I need to
refactor our breakpoint support. The attached patch breaks
gnu.gcj.jvmti.Breakpoint into two classes. "Breakpoint" will be a base
class for breakpoint classes. "NormalBreakpoint" is (as it sounds) a
"normal" breakpoint. Functionally this patch is a nop.
QCC?
Keith
ChangeLog
2007-06-12 Keith Seitz <keiths@redhat.com>
* gnu/gcj/jvmti/Breakpoint.java (type): New data member.
(method): Change from private to protected.
(location): Likewise.
(Breakpoint): Change argument list to take only integer type.
(initialize_native): Renamed to ...
(_save_insn): ... this to make function more explicit.
(type): New method.
* gnu/gcj/jvmti/NormalBreakpoint.java: New file.
* gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
Instantiate a NormalBreakpoint instead of the Breakpoint
base class.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: normalbreakpoint.patch
Type: text/x-patch
Size: 3764 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070613/29285e4d/attachment.bin>
More information about the Java-patches
mailing list