meaning of sizes in the .map file

What's the exact meaning of the "Code (inc. data)", "Debug" sizes in the .map file? Why is the Debug-size so big?

      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Object Name

       208         72          0          4          0      94225   main.o

thanks in advance
Georg

Parents
  • The meaning will depend entirely on which toolset you're using!

    "Why is the Debug-size"

    Because it contains a lot of information!!
    This is how the tools know what absolute locations refer to what source symbols, the types of symbols, etc, etc
    It usually includes something to identify the code address associated with each individual line of your source code.

    Typically, the debug information is not loaded into the target - it is just retained in files on the development system, and the debug tools access it from there...

Reply
  • The meaning will depend entirely on which toolset you're using!

    "Why is the Debug-size"

    Because it contains a lot of information!!
    This is how the tools know what absolute locations refer to what source symbols, the types of symbols, etc, etc
    It usually includes something to identify the code address associated with each individual line of your source code.

    Typically, the debug information is not loaded into the target - it is just retained in files on the development system, and the debug tools access it from there...

Children
More questions in this forum