Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Scott.
It looks as though the -S option is already used: "OBJDUMP = nios2-elf-objdump -D -S -x" in the file C:\altera\kits\nios2_v5\components\altera_nios2\HAL\src\component.mk I suspect I need to turn on a "debug info" option, or to specify the "source dirs" By adding the -l option (line numbers), i.e. "OBJDUMP = nios2-elf-objdump -D -S -x -l" ...I was able to produce a list of line numbers in a few code sections only: e.g. C:\altera\kits\nios2_v5\bin\nios2-gnutools\src\gcc\gcc\config\nios2\lib2-divmod.c - not the HAL nor project source files. So there must be something really simple I've overlooked......