Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

4.1.6.1.1. nios2-elf-addr2line Usage Example

To use the nios2-elf-addr2line command, perform the following steps:

  1. Open a Nios® II command shell.
  2. In the command shell, type the following command:
    nios2-elf-addr2line <your project>.elf <your_address_0>,\ 
    <your_address_1>,...,<your_address_n>

    If your project file contains source code at this address, its line number appears.