I'm having trouble getting gas to output debugging information for an assembly file. as -g gives a warning about -g being ambiguous, as --gdwarf2 reults in objdump saying "no recognized debugging information", and as --gstabs results in stuff like this: /* file file.S line x addr 0x0000000000000000 */ Any ideas?