I am trying to debug a small .asm file that I wrote in Ubuntu. I am however running into an issue where my symbol table is not being loaded and was looking for some help.
Assemble your file with the following commands :-
nasm -f elf -F dwarf -g file.asm ld -m elf_i386 -o file file.o
nasm -f elf -F dwarf -g file.asm
ld -m elf_i386 -o file file.o
and then use gdb,