Debugging with CrossWorks using external debug file ?
Hello,
With GDB it's possible to debug the application with the debug information outside of the binary file.
Here is the procedure to split the debug info from the binary file:
- cp my_app.elf my_app.elf.debug
- strip --only-keep-debug my_app.elf.debug
- strip --strip-debug --strip-unneeded my_app.elf
- objcopy --add-gnu-debuglink my_app.elf.debug my_app.elf
Does CrossWork debugger support this kind of setup ?
I have tried several CrossWork configuration but I have not been able to make it work.
Thanks,
Sylvain
-
Hello Sylvain,
I think you can do so. Without having tried it:
Create a dummy project and use the Loader > Load File property for the bin File and Debugger > Debug Symbols File for the Elf-File with the Debug-Information.
You may also need to set the Debugger > Entry Point Symbol property as well to make the program start correctly.
Regards
Please sign in to leave a comment.
Comments
1 comment