Hello there,
i wondered if there is a way to use VisualGDB to compile intel assembly files with nasm on the target linux machine and still have gdb debugging capabilities.
Can i just import the makefile or is there some more elaborate process involved, if there even is one?
Thanks in advance!
If your versions of nasm and gdb are compatible, VisualGDB should not have any problem with it as long as you specify the correct flags in the Makefile.
Please see this page for hints on setting nasm to work with gdb: http://www.csee.umbc.edu/portal/help/nasm/nasm.shtml
Thank you for the fast answer ! 🙂
Already got it to compile and link with a custom setup (probably didnt need to do that).
Next step is getting gdb to work.
Is it possible to use the breakpoints i set with visual studio or do i still need to enter them manualy?
Unless nasm uses some special path encoding style, breakpoints should work normally. If they don’t, please follow the breakpoint diagnostic tutorial to fix them.