This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: .debug_line and .debug_frame in Map file

Part Number: AM5728

Tool/software:

We are using TI RTOS SDK AM5728 Processor. When we update the map file there is information like .debug_line & .debug_frame as shown in below image. Can you more about what is this and what is the useful of this segment. Can you please explain a more or provide any training links. When the program counter reach this segment area. 

  • Hi,

    When we update the map file there is information like .debug_line & .debug_frame as shown in below image.

    If you're debugging a crash or stepping through code in CCS the debugger uses .debug_line to figure out where you're currently on.
    It looks into .debug_line to say this address is main.c:42 ,  also uses .debug_frame to walk up the stack which function called this one

    Please refer the attached documents:

    DWARF5_debug_info.pdf

    Regards,

    Karthik