Skip to content

Commit c523b2b

Browse files
committed
Merge branch 'GP-2428_ryanmkurtz_PR-4501_xiaoyinl_pdbpath'
2 parents 047fc03 + f81b75c commit c523b2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ public DataType toDataType() {
121121
struct.add(new StringDataType(), magic.length, "signature", null);
122122
struct.add(new GuidDataType(), "guid", null);
123123
struct.add(new DWordDataType(), "age", null);
124-
if (pdbName.length() > 0) {
125-
struct.add(new StringDataType(), pdbName.length(), "pdbname", null);
124+
if (pdbPath.length() > 0) {
125+
struct.add(new StringDataType(), pdbPath.length(), "pdbpath", null);
126126
}
127127
struct.setCategoryPath(new CategoryPath("/PDB"));
128128
return struct;

0 commit comments

Comments
 (0)