[RFA] Remove breakpoints
Keith Seitz
keiths@redhat.com
Fri Apr 20 05:21:00 GMT 2007
Hi,
Looks like there's a slight oversight in removing breakpoints: they get
removed from the global list of installed breakpoints, but the original
insn is never reinstalled into the method's bytecode. The attached patch
fixes that, and also moves the installation of the breakpoint to a more
logical place.
Ok?
Keith
ChangeLog
2007-04-19 Keith Seitz <keiths@redhat.com>
* gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
Install the new breakpoint into the bytecode.
(deleteBreakpoint): Remove the breakpoint from the bytecode.
* gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
Don't install the breakpoint here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-remove-bp.patch
Type: text/x-patch
Size: 1644 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070420/d29c10f5/attachment.bin>
More information about the Java-patches
mailing list