1

GDB complains No Source Available

view story
linux-howto

http://stackoverflow.com – I'm running on Ubuntu 12.10 64bit. I am trying to debug a simple assembly program in GDB. However GDB's gui mode (-tui) seems unable to find the source code of my assembly file. I've rebuilt the project in the currently directory and searched google to no avail, please help me out here. My commands: nasm -f elf64 -g -F dwarf hello.asm gcc -g hello.o -o hello gdb -tui hello Debug information seems to be loaded, I can set a breakpoint at main() but the top half the screen still says '[ No Source Available ]'. Here is hello.asm if you're interested: ; hello.asm a first program for nasm (HowTos)