Hi all,
I have a main function written in C and another function written in assembly using binutil assembler syntax (.s file). I can compile and run and debug the program with no problem but I cannot go into the function written in assembly code. I know there is no debug information in the .s file. But is it possible to go into it and run each instruction? I have tried nexti and stepi but no luck. Currently the only way is:
disassemble the main function, find the call instruction in main function and obtain the memory location for the instructions of the function written in assembly, set breakpoints at that location and for each instruction I have set one breakpoint so I can run single instruction in that way. This makes debugging such a nightmare...
My question is: is it possible for idbc to do this automatically? I mean, break the function written in assembly code and run single instruction at one time. Any help is greatly appreciated. Thank you very much!
Best
Deyang Gu