GP-5089: Fix section refresh for modules containing spaces.

This commit is contained in:
Dan 2024-11-01 15:00:17 -04:00
parent aeddb602d7
commit f02c7c8b63

View File

@ -388,7 +388,7 @@ def refresh_sections(node: sch.Schema('Module')):
switch_inferior(find_inf_by_mod_obj(node))
with commands.open_tracked_tx('Refresh Module and Sections'):
modname = find_module_name_by_mod_obj(node)
gdb.execute(f'ghidra trace put-sections {modname}')
gdb.execute(f'ghidra trace put-sections "{modname}"')
@REGISTRY.method(action='activate')