aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ff7856..0a5c710 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ emu: build/altimeter_sim.elf
# Attach GDB session to qemu instance started with `make emu`
gdb:
- $(GDB) -ex "target remote :1234"
+ $(GDB) -ex "target remote :1234" $(REAL_ELF)
# Flash AVR software to microcontroller with AVRdude
flash: build/altimeter.hex
$(AVRDUDE) -F -V -c avr109 -p $(MCU) -P $(PORT) -b 115200 -U flash:w:$<