Forum Discussion
Altera_Forum
Honored Contributor
21 years agoMixed source / Assembly listing
Is this possible, so I can get a fair idea on how the code for this is distributed? 0000413c <uart_irq_1>:
413c: 01421204 movi r5,2120
4140: 29000037 ldwio r4,0(r5)
414...
Altera_Forum
Honored Contributor
21 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......