A: 

As far as I know, map files provide the mappings of functions and variables to relative memory locations. Normally they are not very useful for programmers.

To generate them, look at the help file, all information needed should be there.

Gamecat
+2  A: 

The list file normally contains the assembly language code the compiler generated. It may also contain you original source code interspersed with the asm code.

The map file contains all the static symbols (functions, globals, etc.) in your code and their relative addresses. Depending on your linker settings, it may have other information, such as the address of each line of code in your program. If your program crashes, it is possible to determine where the crash occurred using the map file.

Ferruccio
Back in the days, I remember going through map files to know where it crashed. Keeping released version map file is also part of our releasing process. But I haven't use for years now.
Hapkido