Skip to content

Commit f81b75c

Browse files
authored
Correct PDB info display in PdbInfoCodeView
1 parent 1006bf4 commit f81b75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/pdb/PdbInfoCodeView.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public DataType toDataType() {
103103
struct.add(new DWordDataType(), "offset", null);
104104
struct.add(new DWordDataType(), "sig", null);
105105
struct.add(new DWordDataType(), "age", null);
106-
if (pdbName.length() > 0) {
107-
struct.add(new StringDataType(), pdbName.length(), "pdbname", null);
106+
if (pdbPath.length() > 0) {
107+
struct.add(new StringDataType(), pdbPath.length(), "pdbpath", null);
108108
}
109109
struct.setCategoryPath(new CategoryPath("/PDB"));
110110
return struct;

0 commit comments

Comments
 (0)