diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-26 14:09:47 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-26 14:09:47 -0700 |
commit | 922afbfc6ce937ecfc90ab772377b497242554f0 (patch) | |
tree | a5ad4f8a76eaaca1e3320782ea9bb06d8a09a234 | |
parent | 82fc1bea766b3092383c543920fe0c18983a55fc (diff) | |
download | nasm-922afbfc6ce937ecfc90ab772377b497242554f0.tar.gz |
test: enable debugging output
There is no reason why we should not emit debugging output when
compiling test files for manual analysis, quite the contrary.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r-- | test/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Makefile b/test/Makefile index 5f0676b0..2e343ee1 100644 --- a/test/Makefile +++ b/test/Makefile @@ -21,16 +21,16 @@ $(NASM): $(NASM) $(NASMOPT) -f srec -o $@ -MD $@.dep -l $@.lst $< %.o: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f elf32 -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f elf32 -gdwarf -o $@ -MD $@.dep -l $@.lst $< %.o64: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f elf64 -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f elf64 -gdwarf -o $@ -MD $@.dep -l $@.lst $< %.aout: %.asm $(NASMDEP) $(NASM) $(NASMOPT) -f aout -o $@ -MD $@.dep -l $@.lst $< %.obj: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f obj -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f obj -gborland -F -o $@ -MD $@.dep -l $@.lst $< %.rdf: %.asm $(NASMDEP) $(NASM) $(NASMOPT) -f rdf -o $@ -MD $@.dep -l $@.lst $< @@ -42,19 +42,19 @@ $(NASM): $(NASM) $(NASMOPT) -f coff -o $@ -MD $@.dep -l $@.lst $< %.win32: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f win32 -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f win32 -gcv8 -o $@ -MD $@.dep -l $@.lst $< %.win64: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f win64 -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f win64 -gcv8 -o $@ -MD $@.dep -l $@.lst $< %.mo32: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f macho32 -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f macho32 -gdwarf -o $@ -MD $@.dep -l $@.lst $< %.mo64: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f macho64 -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f macho64 -gdwarf -o $@ -MD $@.dep -l $@.lst $< %.dbg: %.asm $(NASMDEP) - $(NASM) $(NASMOPT) -f dbg -o $@ -MD $@.dep -l $@.lst $< + $(NASM) $(NASMOPT) -f dbg -gdbg -o $@ -MD $@.dep -l $@.lst $< %.asm: %.pl $(PERL) $< > $@ |