GP-5668: Activate trace on target creation. Tweak message about out-of-date programs.

This commit is contained in:
Dan 2025-05-15 17:42:38 +00:00
parent 284980b60b
commit 00d634ca17
2 changed files with 2 additions and 1 deletions

View file

@ -860,6 +860,7 @@ public class TraceRmiHandler extends AbstractTraceRmiConnection {
DoId doId = requireAvailableDoId(req.getOid());
openTraces.put(new OpenTrace(doId, trace, target));
createDeconflictedFile(folder, trace);
doActivate(null, trace, null);
return ReplyCreateTrace.getDefaultInstance();
}

View file

@ -581,7 +581,7 @@ public class DynamicStaticSynchronizationPlugin extends Plugin {
if (consoleService != null) {
consoleService.log(DebuggerResources.ICON_MODULES, "<html>Program <b>" +
HTMLUtilities.escapeHTML(df.getPathname()) +
"</b> was created with a different version of Ghidra." +
"</b> was imported with a different version of Ghidra." +
" It must be opened manually.</html>", ctx);
}
return;