Correct PDB info display in PdbInfoCodeView

This commit is contained in:
Xiaoyin Liu 2022-08-04 13:38:49 +04:00 committed by GitHub
parent 1006bf465f
commit f81b75cc27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,8 +103,8 @@ public class PdbInfoCodeView implements StructConverter, PdbInfo {
struct.add(new DWordDataType(), "offset", null); struct.add(new DWordDataType(), "offset", null);
struct.add(new DWordDataType(), "sig", null); struct.add(new DWordDataType(), "sig", null);
struct.add(new DWordDataType(), "age", null); struct.add(new DWordDataType(), "age", null);
if (pdbName.length() > 0) { if (pdbPath.length() > 0) {
struct.add(new StringDataType(), pdbName.length(), "pdbname", null); struct.add(new StringDataType(), pdbPath.length(), "pdbpath", null);
} }
struct.setCategoryPath(new CategoryPath("/PDB")); struct.setCategoryPath(new CategoryPath("/PDB"));
return struct; return struct;