Forum Discussion
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by fischer@Jul 27 2004, 03:43 PM i had the same problem,
try to set a breakpoint in c/c++ perspective, in the tree view, at the function
name,your assembly routine (right click, add breakpoint).
the debugger stops then at the beginning of the assembly routine, from
then on breakpoints also work in asm code. --- Quote End --- Hm, doesn't work for me. The self written assembly code is missing any debug information. So there is no function name in the tree to set a break point on it. How do I write asm code to "convince" the compiler/assembler to add debug code? Here is my tiny example "call_asm.S": .align 2 .global call_asm call_asm: addi r2, r4, 1 ret I used to debug using "ddd" and this works fine with this asm code. Cheers