diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/commands.py b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/commands.py index 3af23dafad..697329d1b7 100644 --- a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/commands.py +++ b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/commands.py @@ -32,7 +32,8 @@ from pybag.dbgeng.win32.kernel32 import STILL_ACTIVE from . import util, arch, methods, hooks from .dbgmodel.imodelobject import ModelObjectKind -from .exdi import exdi_commands, exdi_methods +if util.is_exdi(): + from .exdi import exdi_commands, exdi_methods PAGE_SIZE = 4096 diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py index fd0eee45d3..5326cc5be5 100644 --- a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py +++ b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/methods.py @@ -243,18 +243,6 @@ def refresh_processes(node: sch.Schema('ProcessContainer')): commands.ghidra_trace_put_processes() -@REGISTRY.method(action='refresh', display='Refresh Breakpoint Locations') -def refresh_proc_breakpoints(node: sch.Schema('BreakpointLocationContainer')): - """ - Refresh the breakpoint locations for the process. - - In the course of refreshing the locations, the breakpoint list will also be - refreshed. - """ - with commands.open_tracked_tx('Refresh Breakpoint Locations'): - commands.ghidra_trace_put_breakpoints() - - @REGISTRY.method(action='refresh', display='Refresh Environment') def refresh_environment(node: sch.Schema('Environment')): """Refresh the environment descriptors (arch, os, endian).""" diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/schema.xml b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/schema.xml index be20b61edd..872d38b53d 100644 --- a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/schema.xml +++ b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/py/src/ghidradbg/schema.xml @@ -1,6 +1,5 @@ - @@ -11,19 +10,12 @@ - - - - - - - @@ -49,20 +41,16 @@ - - - -