From 1ec649869c4a958bf225dfa5febef0950cd4951b Mon Sep 17 00:00:00 2001 From: d-millar <33498836+d-millar@users.noreply.github.com> Date: Fri, 27 Feb 2026 01:18:29 +0000 Subject: [PATCH] GP-0: #@^%@ python indentation --- .../src/main/py/src/ghidradrgn/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py b/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py index 85eff127a1..cf22128a8b 100644 --- a/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py +++ b/Ghidra/Debug/Debugger-agent-drgn/src/main/py/src/ghidradrgn/commands.py @@ -272,10 +272,10 @@ def ghidra_trace_create(start_trace: bool = True) -> None: elif kind == "coredump": img = os.getenv('OPT_TARGET_IMG') if img is None: - return + return prog.set_core_dump(img) if '/' in img: - img = img[img.rindex('/')+1:] + img = img[img.rindex('/')+1:] else: pid = os.getenv('OPT_TARGET_PID') if pid is not None: