Skip to content

Commit dbe9444

Browse files
committed
Makefile: Better debug info
1 parent 777d694 commit dbe9444

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

isa/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ default: all
3737

3838
RISCV_PREFIX ?= riscv$(XLEN)-unknown-elf-
3939
RISCV_GCC ?= $(RISCV_PREFIX)gcc
40-
RISCV_GCC_OPTS ?= -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles
41-
RISCV_OBJDUMP ?= $(RISCV_PREFIX)objdump --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.text.init --section=.data
40+
RISCV_GCC_OPTS ?= -g -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles
41+
RISCV_OBJDUMP ?= $(RISCV_PREFIX)objdump -S --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.text.init --section=.data
4242
RISCV_SIM ?= spike
4343

4444
vpath %.S $(src_dir)

0 commit comments

Comments
 (0)