mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge branch 'GP-5619_emteere_VariousSpeedImprovements_VERSION2'
This commit is contained in:
commit
0bf8f03a1e
79 changed files with 2290 additions and 1275 deletions
|
@ -24,6 +24,13 @@ import ghidra.trace.model.Trace;
|
|||
*/
|
||||
@ServiceInfo(defaultProviderName = "ghidra.app.plugin.core.debug.gui.modules.DebuggerModulesPlugin")
|
||||
public interface DebuggerAutoMappingService {
|
||||
/**
|
||||
* Set the current auto-map specification in the Modules provider
|
||||
*
|
||||
* @param spec the new setting
|
||||
*/
|
||||
void setAutoMapSpec(AutoMapSpec spec);
|
||||
|
||||
/**
|
||||
* Get the auto-map setting currently active in the Modules provider
|
||||
*
|
||||
|
|
|
@ -398,20 +398,18 @@ public enum ControlMode {
|
|||
return coordinates;
|
||||
}
|
||||
|
||||
ScheduleForm form =
|
||||
target.getSupportedTimeForm(coordinates.getObject(), coordinates.getSnap());
|
||||
ScheduleForm form = coordinates.getObject() == null ? null
|
||||
: target.getSupportedTimeForm(coordinates.getObject(), coordinates.getSnap());
|
||||
if (form == null) {
|
||||
if (coordinates.getTime().isSnapOnly() &&
|
||||
coordinates.getSnap() == target.getSnap()) {
|
||||
return coordinates;
|
||||
}
|
||||
else {
|
||||
tool.setStatusInfo("""
|
||||
Cannot navigate time in %s mode. Switch to Trace or Emulate mode first."""
|
||||
.formatted(name),
|
||||
true);
|
||||
return null;
|
||||
}
|
||||
tool.setStatusInfo("""
|
||||
Cannot navigate time in %s mode. Switch to Trace or Emulate mode first."""
|
||||
.formatted(name),
|
||||
true);
|
||||
return null;
|
||||
}
|
||||
TraceSchedule norm = form.validate(coordinates.getTrace(), coordinates.getTime());
|
||||
if (norm != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue