mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package ghidra.app.plugin.core.debug.gui.listing;
|
||||
|
||||
import static ghidra.app.plugin.core.debug.gui.DebuggerResources.*;
|
||||
import static ghidra.app.plugin.core.debug.gui.DebuggerResources.GROUP_TRANSIENT_VIEWS;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
@@ -82,8 +82,7 @@ import ghidra.trace.model.program.TraceProgramView;
|
||||
},
|
||||
servicesProvided = {
|
||||
DebuggerListingService.class,
|
||||
}
|
||||
)
|
||||
})
|
||||
public class DebuggerListingPlugin extends AbstractCodeBrowserPlugin<DebuggerListingProvider>
|
||||
implements DebuggerListingService {
|
||||
private static final String KEY_CONNECTED_PROVIDER = "connectedProvider";
|
||||
|
||||
@@ -93,8 +93,9 @@ import utilities.util.SuppressableCallback.Suppression;
|
||||
|
||||
public class DebuggerListingProvider extends CodeViewerProvider {
|
||||
|
||||
private static final AutoConfigState.ClassHandler<DebuggerListingProvider> CONFIG_STATE_HANDLER =
|
||||
AutoConfigState.wireHandler(DebuggerListingProvider.class, MethodHandles.lookup());
|
||||
private static final AutoConfigState.ClassHandler<
|
||||
DebuggerListingProvider> CONFIG_STATE_HANDLER =
|
||||
AutoConfigState.wireHandler(DebuggerListingProvider.class, MethodHandles.lookup());
|
||||
private static final String KEY_DEBUGGER_COORDINATES = "DebuggerCoordinates";
|
||||
|
||||
protected static boolean sameCoordinates(DebuggerCoordinates a, DebuggerCoordinates b) {
|
||||
@@ -443,6 +444,11 @@ public class DebuggerListingProvider extends CodeViewerProvider {
|
||||
return isMainListing;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPrimary() {
|
||||
return isMainListing();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isReadOnly() {
|
||||
if (controlService == null) {
|
||||
|
||||
Reference in New Issue
Block a user