GP-724 fix setting "PDB Loaded" flag

This commit is contained in:
dev747368 2021-02-24 19:05:31 -05:00 committed by ghidra1
parent 3d45118c63
commit 364ff3f8ac

View File

@ -15,9 +15,10 @@
*/
package ghidra.app.util.pdb.pdbapplicator;
import java.math.BigInteger;
import java.util.*;
import java.math.BigInteger;
import ghidra.app.cmd.label.SetLabelPrimaryCmd;
import ghidra.app.util.NamespaceUtils;
import ghidra.app.util.SymbolPath;
@ -204,7 +205,7 @@ public class PdbApplicator {
throw new PdbException("Invalid Restriction");
}
if (program == null) {
if (program != null) {
Options options = program.getOptions(Program.PROGRAM_INFO);
options.setBoolean(PdbParserConstants.PDB_LOADED, true);
}