Ghidra is a software reverse engineering (SRE) framework
GP-4080: Display 'lock' overlay when cx/target has a transaction.
Dan5f1581b417dc
diff --git a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/target/Target.java b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/target/Target.javaindex c9f23b8876..4064db3b44 100644--- a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/target/Target.java+++ b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/target/Target.java@@ -689,4 +689,15 @@ public interface Target {* @see #disconnectAsync()*/void disconnect();++ /**+ * Check if the target is busy updating the trace+ *+ * <p>+ * This generally means the connection has an open transaction. If <em>does not</em> indicate+ * the execution state of the target/debuggee.+ *+ * @return true if busy+ */+ boolean isBusy();}diff --git a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiConnection.java b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiConnection.javaindex 6deb65eab0..8e0ad284ff 100644--- a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiConnection.java+++ b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiConnection.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -156,4 +156,23 @@ public interface TraceRmiConnection extends AutoCloseable {* @return the collection of valid targets*/Collection<Target> getTargets();++ /**+ * Check if the connection has a transaction open on any of its targets+ *+ * <p>+ * This generally means the connection has an open transaction. If <em>does not</em> indicate+ * the execution state of the target/debuggee.+ *+ * @return true if busy+ */+ boolean isBusy();++ /**+ * Check if the given target has a transaction open+ *+ * @param target+ * @return true if busy+ */+ boolean isBusy(Target target);}diff --git a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiServiceListener.java b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiServiceListener.javaindex a88ab0964e..24034ded05 100644--- a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiServiceListener.java+++ b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/api/tracermi/TraceRmiServiceListener.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -20,6 +20,7 @@ import java.net.SocketAddress;import ghidra.app.services.TraceRmiService;import ghidra.debug.api.target.Target;import ghidra.debug.api.target.TargetPublicationListener;+import ghidra.trace.model.Trace;/*** A listener for Trace RMI Service events@@ -62,8 +63,8 @@ public interface TraceRmiServiceListener {** @param connection the new connection* @param mode the mechanism creating the connection- * @param if by {@link TraceRmiService#acceptOne(SocketAddress)}, the acceptor that created this- * connection+ * @param acceptor if by {@link TraceRmiService#acceptOne(SocketAddress)}, the acceptor that+ * created this connection*/default void connected(TraceRmiConnection connection, ConnectMode mode,TraceRmiAcceptor acceptor) {@@ -124,4 +125,32 @@ public interface TraceRmiServiceListener {*/default void targetPublished(TraceRmiConnection connection, Target target) {}++ /**+ * A transaction was opened for the given target+ *+ * <p>+ * Note, this is different than listening for transactions on the {@link Trace} domain object,+ * because this only includes those initiated <em>by the connection</em>.+ *+ * @param connection the connection that initiated the transaction+ * @param target the target whose trace is to be modified+ */+ default void transactionOpened(TraceRmiConnection connection, Target target) {+ }++ /**+ * A transaction was closed for the given target+ *+ * <p>+ * Note, this is different than listening for transactions on the {@link Trace} domain object,+ * because this only includes those initiated <em>by the connection</em>.+ *+ * @param connection the connection that closed the transaction+ * @param target the target whose trace was modified+ * @param aborted if the transaction was aborted. This should only be true in catastrophic+ * cases.+ */+ default void transactionClosed(TraceRmiConnection connection, Target target, boolean aborted) {+ }}diff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/help/help/topics/TraceRmiConnectionManagerPlugin/TraceRmiConnectionManagerPlugin.html b/Ghidra/Debug/Debugger-rmi-trace/src/main/help/help/topics/TraceRmiConnectionManagerPlugin/TraceRmiConnectionManagerPlugin.htmlindex 72bc23dcc1..9547a6a869 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/help/help/topics/TraceRmiConnectionManagerPlugin/TraceRmiConnectionManagerPlugin.html+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/help/help/topics/TraceRmiConnectionManagerPlugin/TraceRmiConnectionManagerPlugin.html@@ -41,15 +41,17 @@<LI><IMG alt="" src="icon.debugger.connect"> <B>Connection:</B> A connection is a completeconnection to a Trace RMI client. It may have one or more (but usually only one) target traceassociated with it. The node displays a description given by the client along with the remote- host and port. Double-clicking the node will expand its targets, if any.</LI>+ host and port. Double-clicking the node will expand its targets, if any. If the connection is+ updating any trace, a busy ovelay is displayed on the icon.</LI><LI><IMG alt="" src="icon.debugger.record"> <B>Target:</B> These are children of theircreating connection. A client can create any number of traces to describe each target itwishes to trace, but by convention each client ought to create only one. The target nodedisplays the name of the trace and the last snapshot activated by the client. Double-clickingthe node will activate the target at the last snapshot, and change to <B>Control Target</B>- <A href=- "help/topics/DebuggerControlPlugin/DebuggerControlPlugin.html#control_mode">mode</A>.</LI>+ <A href="help/topics/DebuggerControlPlugin/DebuggerControlPlugin.html#control_mode">mode</A>.+ If the connection is updating this target's trace, a busy overlay is displayed on the+ icon.</LI></UL><H2>Actions</H2>diff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/AbstractTraceRmiManagerNode.java b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/AbstractTraceRmiManagerNode.javaindex 6d5cd856c9..b5096a96f3 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/AbstractTraceRmiManagerNode.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/AbstractTraceRmiManagerNode.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -15,10 +15,14 @@*/package ghidra.app.plugin.core.debug.gui.tracermi.connection.tree;+import javax.swing.Icon;+import docking.widgets.tree.GTreeNode;+import generic.theme.GIcon;import ghidra.app.plugin.core.debug.gui.tracermi.connection.TraceRmiConnectionManagerProvider;public abstract class AbstractTraceRmiManagerNode extends GTreeNode implements TraceRmiManagerNode {+ protected static final Icon ICON_TX_OVERLAY = new GIcon("icon.debugger.overlay.tx");protected final TraceRmiConnectionManagerProvider provider;protected final String name;diff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiConnectionNode.java b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiConnectionNode.javaindex e39fbe3b95..5f6a5f61e3 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiConnectionNode.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiConnectionNode.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -24,9 +24,11 @@ import ghidra.app.plugin.core.debug.gui.DebuggerResources;import ghidra.app.plugin.core.debug.gui.tracermi.connection.TraceRmiConnectionManagerProvider;import ghidra.debug.api.target.Target;import ghidra.debug.api.tracermi.TraceRmiConnection;+import resources.MultiIcon;public class TraceRmiConnectionNode extends AbstractTraceRmiManagerNode {private static final Icon ICON = DebuggerResources.ICON_CONNECTION;+ private static final Icon ICON_TX = new MultiIcon(ICON, ICON_TX_OVERLAY);private final TraceRmiConnection connection;private final Map<Target, TraceRmiTargetNode> targetNodes = new HashMap<>();@@ -45,7 +47,7 @@ public class TraceRmiConnectionNode extends AbstractTraceRmiManagerNode {@Overridepublic Icon getIcon(boolean expanded) {- return ICON;+ return connection.isBusy() ? ICON_TX : ICON;}@Overridediff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiServiceNode.java b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiServiceNode.javaindex d37c9f704e..8092a4c40d 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiServiceNode.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiServiceNode.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -170,6 +170,29 @@ public class TraceRmiServiceNode extends AbstractTraceRmiManagerNodeprovider.contextChanged();}+ protected static <K> void fireNodeChanged(Map<K, ? extends AbstractTraceRmiManagerNode> map,+ K key) {+ AbstractTraceRmiManagerNode node;+ synchronized (map) {+ node = map.get(key);+ }+ if (node != null) {+ node.fireNodeChanged();+ }+ }++ @Override+ public void transactionOpened(TraceRmiConnection connection, Target target) {+ fireNodeChanged(connectionNodes, connection);+ fireNodeChanged(targetNodes, target);+ }++ @Override+ public void transactionClosed(TraceRmiConnection connection, Target target, boolean aborted) {+ fireNodeChanged(connectionNodes, connection);+ fireNodeChanged(targetNodes, target);+ }+@Overridepublic void targetPublished(Target target) {// Dont care. Using targetPublished(connection, target) insteaddiff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiTargetNode.java b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiTargetNode.javaindex 31958f557c..cb7fcfa7d0 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiTargetNode.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/tree/TraceRmiTargetNode.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -20,9 +20,11 @@ import javax.swing.Icon;import ghidra.app.plugin.core.debug.gui.DebuggerResources;import ghidra.app.plugin.core.debug.gui.tracermi.connection.TraceRmiConnectionManagerProvider;import ghidra.debug.api.target.Target;+import resources.MultiIcon;public class TraceRmiTargetNode extends AbstractTraceRmiManagerNode {private static final Icon ICON = DebuggerResources.ICON_RECORD;+ private static final Icon ICON_TX = new MultiIcon(ICON, ICON_TX_OVERLAY);private final TraceRmiConnectionNode connectionNode;private final Target target;@@ -36,7 +38,7 @@ public class TraceRmiTargetNode extends AbstractTraceRmiManagerNode {@Overridepublic Icon getIcon(boolean expanded) {- return ICON;+ return target.isBusy() ? ICON_TX : ICON;}@Overridediff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiHandler.java b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiHandler.javaindex 747839ac30..3b91dc265f 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiHandler.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiHandler.java@@ -977,6 +977,8 @@ public class TraceRmiHandler extends AbstractTraceRmiConnection {if (restoreEvents) {open.trace.setEventsEnabled(true);}+ Swing.runLater(+ () -> plugin.listeners.invoke().transactionClosed(this, open.target, req.getAbort()));return ReplyEndTx.getDefaultInstance();}@@ -1188,6 +1190,7 @@ public class TraceRmiHandler extends AbstractTraceRmiConnection {synchronized (openTxes) {openTxes.put(tx.txId, tx);}+ Swing.runLater(() -> plugin.listeners.invoke().transactionOpened(this, open.target));return ReplyStartTx.getDefaultInstance();}@@ -1317,4 +1320,24 @@ public class TraceRmiHandler extends AbstractTraceRmiConnection {}return description;}++ @Override+ public boolean isBusy() {+ return !openTxes.isEmpty();+ }++ @Override+ public boolean isBusy(Target target) {+ OpenTrace openTrace = openTraces.getByTrace(target.getTrace());+ if (openTrace == null || openTrace.target != target) {+ return false;+ }++ for (Tid tid : openTxes.keySet()) {+ if (Objects.equals(openTrace.doId, tid.doId)) {+ return true;+ }+ }+ return false;+ }}diff --git a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiTarget.java b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiTarget.javaindex bbe8bdfb43..779643b1a5 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiTarget.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiTarget.java@@ -427,8 +427,7 @@ public class TraceRmiTarget extends AbstractTarget {.orElse(null);}- record ParamAndObjectArg(RemoteParameter param, TraceObject obj) {- }+ record ParamAndObjectArg(RemoteParameter param, TraceObject obj) {}protected ParamAndObjectArg getFirstObjectArgument(RemoteMethod method,Map<String, Object> args) {@@ -871,8 +870,7 @@ public class TraceRmiTarget extends AbstractTarget {static final List<ToggleBreakMatcher> SPEC = matchers(HAS_SPEC);}- record MatchKey(Class<? extends MethodMatcher> cls, ActionName action, TraceObjectSchema sch) {- }+ record MatchKey(Class<? extends MethodMatcher> cls, ActionName action, TraceObjectSchema sch) {}protected class Matches {private final Map<MatchKey, MatchedMethod> map = new HashMap<>();@@ -1733,4 +1731,9 @@ public class TraceRmiTarget extends AbstractTarget {}});}++ @Override+ public boolean isBusy() {+ return connection.isBusy(this);+ }}diff --git a/Ghidra/Debug/Debugger-rmi-trace/src/test/java/ghidra/app/plugin/core/debug/service/tracermi/TestTraceRmiConnection.java b/Ghidra/Debug/Debugger-rmi-trace/src/test/java/ghidra/app/plugin/core/debug/service/tracermi/TestTraceRmiConnection.javaindex 3ba6116ba0..4a35aaae56 100644--- a/Ghidra/Debug/Debugger-rmi-trace/src/test/java/ghidra/app/plugin/core/debug/service/tracermi/TestTraceRmiConnection.java+++ b/Ghidra/Debug/Debugger-rmi-trace/src/test/java/ghidra/app/plugin/core/debug/service/tracermi/TestTraceRmiConnection.java@@ -267,4 +267,14 @@ public abstract class TestTraceRmiConnection extends AbstractTraceRmiConnectionTrace trace = object.getTrace();doActivate(object, trace, snapshots.get(trace));}++ @Override+ public boolean isBusy() {+ return false;+ }++ @Override+ public boolean isBusy(Target target) {+ return false;+ }}diff --git a/Ghidra/Debug/Debugger/certification.manifest b/Ghidra/Debug/Debugger/certification.manifestindex b6b5a7111e..b87686864a 100644--- a/Ghidra/Debug/Debugger/certification.manifest+++ b/Ghidra/Debug/Debugger/certification.manifest@@ -106,6 +106,7 @@ src/main/resources/images/object-populated.png||GHIDRA||||END|src/main/resources/images/object-running.png||GHIDRA||||END|src/main/resources/images/object-terminated.png||GHIDRA||||END|src/main/resources/images/object-unpopulated.png||GHIDRA||||END|+src/main/resources/images/overlay-tx.png||GHIDRA||||END|src/main/resources/images/process.png||GHIDRA||||END|src/main/resources/images/record.png||GHIDRA||||END|src/main/resources/images/register-marker.png||GHIDRA||||END|@@ -161,6 +162,7 @@ src/main/svg/object-running.svg||GHIDRA||||END|src/main/svg/object-terminated.svg||GHIDRA||||END|src/main/svg/object-unpopulated.svg||GHIDRA||||END|src/main/svg/overlay-pencil.svg||GHIDRA||||END|+src/main/svg/overlay-tx.svg||GHIDRA||||END|src/main/svg/process.svg||GHIDRA||||END|src/main/svg/record.svg||GHIDRA||||END|src/main/svg/register-marker.svg||GHIDRA||||END|diff --git a/Ghidra/Debug/Debugger/data/debugger.theme.properties b/Ghidra/Debug/Debugger/data/debugger.theme.propertiesindex 7078465228..6d938c8293 100644--- a/Ghidra/Debug/Debugger/data/debugger.theme.properties+++ b/Ghidra/Debug/Debugger/data/debugger.theme.properties@@ -126,6 +126,7 @@ icon.debugger = debugger.pngicon.debugger.connect = connect.pngicon.debugger.connect.accept = connect-accept.pngicon.debugger.connect.outbound = connect-outbound.png+icon.debugger.overlay.tx = overlay-tx.pngicon.debugger.disconnect = disconnect.pngicon.debugger.process = process.pngicon.debugger.thread = thread.pngdiff --git a/Ghidra/Debug/Debugger/src/main/resources/images/overlay-tx.png b/Ghidra/Debug/Debugger/src/main/resources/images/overlay-tx.pngnew file mode 100644index 0000000000..330399799dBinary files /dev/null and b/Ghidra/Debug/Debugger/src/main/resources/images/overlay-tx.png differdiff --git a/Ghidra/Debug/Debugger/src/main/svg/overlay-tx.svg b/Ghidra/Debug/Debugger/src/main/svg/overlay-tx.svgnew file mode 100644index 0000000000..a7e6f2e9e6--- /dev/null+++ b/Ghidra/Debug/Debugger/src/main/svg/overlay-tx.svg@@ -0,0 +1,44 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<svg+ width="16"+ height="16"+ id="svg4819"+ version="1.1"+ viewBox="0 0 16 16"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:dc="http://purl.org/dc/elements/1.1/">+ <defs+ id="defs4821" />+ <metadata+ id="metadata4824">+ <rdf:RDF>+ <cc:Work+ rdf:about="">+ <dc:format>image/svg+xml</dc:format>+ <dc:type+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />+ </cc:Work>+ </rdf:RDF>+ </metadata>+ <g+ id="rect1989">+ <path+ style="color:#000000;fill:#feffff;-inkscape-stroke:none;fill-opacity:1"+ d="m 12.5,7.5 c -1.098646,0 -2,0.9013539 -2,2 v 2 h -1 v 4 h 6 v -4 h -1 v -2 c 0,-1.0986461 -0.901354,-2 -2,-2 z"+ id="path2993" />+ </g>+ <rect+ y="12"+ x="10"+ height="3"+ width="5"+ id="rect838"+ style="fill:#aa0000;fill-opacity:1;stroke:none;stroke-width:0.774597;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />+ <path+ id="path488"+ style="fill:#000000;fill-rule:evenodd"+ d="M 12.5 8 A 1.5 1.5 0 0 0 11 9.5 L 11 12 L 12 12 L 12 9.5 A 0.5 0.5 0 0 1 12.5 9 A 0.5 0.5 0 0 1 13 9.5 L 13 12 L 14 12 L 14 9.5 A 1.5 1.5 0 0 0 12.5 8 z " />+</svg>diff --git a/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/service/MockTarget.java b/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/service/MockTarget.javaindex 09786d232e..4f0ebe5bd8 100644--- a/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/service/MockTarget.java+++ b/Ghidra/Debug/Debugger/src/test/java/ghidra/app/plugin/core/debug/service/MockTarget.java@@ -273,4 +273,9 @@ public class MockTarget implements Target {@Overridepublic void disconnect() {}++ @Override+ public boolean isBusy() {+ return false;+ }}