How do I make gdb frontends show the current instruction arrow in assembly source code window?

前端 未结 1 948
情书的邮戳
情书的邮戳 2021-01-25 11:08

I\'m doing some x86 assembler coding on Linux (Arch 64), using nasm to assemble and ld to link, to create a 32-bit executable thus:

wordcount: wordcount.o
    ld         


        
相关标签:
1条回答
  • 2021-01-25 11:29

    You should use the dwarf format instead of stabs, like so:

    nasm -f elf -g -F dwarf wordcount.asm -l wordcount.lst
    
    0 讨论(0)
提交回复
热议问题