Intel asm with nasm

Sysprogs forums Forums VisualGDB Intel asm with nasm

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #744
    sunnlok
    Participant

    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!

    #2966
    support
    Keymaster

    Hi,

    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

    #2965
    sunnlok
    Participant

    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?

    #2964
    support
    Keymaster

    Hi,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.