How can I convert private pdb to public pdb?
Asked Answered
K

2

4

I have private pdb file and I have to convert it to a public one. Is there tool for it?

Kurt answered 6/10, 2009 at 13:37 Comment(1)
There are several types of pdb files (e.g. Palm database) - which one do you mean?Theiss
Y
5

You can create a stripped pdb file that doesn't contain; Type information, Line number information, Per-object file CodeView symbols such as those for functions, locals, and static data. See the /PDBSTRIPPED compiler option.

EDIT: There does appear to be a utility that is part of the DDK that can convert a full symbol file to a stripped symbol file it is called BinPlace the forum I found the information on suggested there might be problems with certain versions of the utility so be warned (forum article).

Yuriyuria answered 6/10, 2009 at 14:43 Comment(1)
Unfortunately, rebuilding is not an option. I have to strip it from an existing symbol file.Kurt
L
11

Use PDBCopy.
pdbcopy is part of the Debugging Tools for Windows which is available through the Windows SDK

Liquidator answered 4/5, 2010 at 4:4 Comment(0)
Y
5

You can create a stripped pdb file that doesn't contain; Type information, Line number information, Per-object file CodeView symbols such as those for functions, locals, and static data. See the /PDBSTRIPPED compiler option.

EDIT: There does appear to be a utility that is part of the DDK that can convert a full symbol file to a stripped symbol file it is called BinPlace the forum I found the information on suggested there might be problems with certain versions of the utility so be warned (forum article).

Yuriyuria answered 6/10, 2009 at 14:43 Comment(1)
Unfortunately, rebuilding is not an option. I have to strip it from an existing symbol file.Kurt

© 2022 - 2024 — McMap. All rights reserved.