Tech Support > Microsoft Windows > Development Resources > .map files and line numbers
.map files and line numbers
Posted by Kip Warner on June 17th, 2004


Greetings everyone,

I have purchased John Robbins's Debugging Applications for Microsoft
..NET and Microsoft Windows. I use MinGW port of GCC (version 3.4). I am
just going through the wonderful chapter on converting crash addresses
to line numbers. I have generated a map file by passing
-Wl,-Map=program.map to g++.exe. Unfortunatley everything but the line
numbers, unlike the example in the book, are there. Does anyone know how
to add line numbers? I tried compiling with -G3 as well.

Kip


Similar Posts