INTRODUCTION 3. PDB
- MS ನݘਵ۽ Image fileա object fileী symbol ࠁо ನೣغ ঋח.
- Compiler ࣇীࢲ Program data base৬ Program data base and continue
(Optimizations ࣇҗ э ࢎਊ ޅೣ) दী ࢤࢿؽ
- FPO, Function info, Variables(global, static, and local ), Source line ࠁܳ
ನೣೠ.
- Incremental linkਸ ਗೣਵ۽ࢲ Enc(Edit and Continue)ܳ ਗ
- ѐߊ ߡীࢲ ۽ ࢎਊೠ.
- The three types of debug symbol files
1. .dbg
- PEੌ ನݘਵ۽ ػ Symbol ੌ
- Compiler, Linkerо Image file(PEನݘ)ী ؔࠢৈ ஹੌ ؽ, rebase۽ .dbgੌ
ਸ ܻ࠙ ೡ ࣻ
- COFF, CodeView symbolನݘਸ ਗ.
- MSVC++ח .dbgੌਸ ੍ਸ ࣻ ݅ COFF Symbolਸ ޖदೞҊ CodeView
ࠁ݅ ࢎਊೠ.
2. .pdb
- Symbolী ೠ ؘఠܳ data streamਵ۽ оҊ ח pageੌ
- ݽٚ ࠁܳ оҊ . (locals, globals, statics, FPO, source lines ...)
- PDB, CodeView symbol ನݘਸ ਗೠ.
3. .map
- Global symbol, Source lineࠁܳ оҊ ח text ੌ
- Debuggerীࢲ ਗೞ ঋח. (WinDBG)
note: ࣁೠ ରח п ࢸ߹۽ ஹੌറ dumpbinਵ۽ Symbolী ೠ ࠁী Debug
Entry, CODEVIEW Debug Info, MISC Debug Info, FPO Debug Info١ ೦ݾীࢲ ରܳ ঌࣻ .
(\etc\dbginfo\Readme.txt ଵҊ)
Debugging in WIN32 Application
[email protected]
3. Commonly Used Terms (Con’t)