mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
a76c029eda
Fixes #2184. QEMU has changed its command line arguments.
27 lines
690 B
Makefile
27 lines
690 B
Makefile
include $(RIOTBOARD)/x86-multiboot-common/Makefile.include
|
|
|
|
CFLAGS += -march=i686 -mtune=i686
|
|
CFLAGS += -I$(RIOTBOARD)/qemu-i386/include
|
|
|
|
TERMPROG = exec $(RIOTBOARD)/qemu-i386/dist/term.py qemu-system-i386 $(BINDIRBASE) $(HEXFILE)
|
|
|
|
FLASHER = true
|
|
|
|
DEBUGGER = $(TERMPROG)
|
|
|
|
all:
|
|
|
|
debug-kdbg: DEBUGGER_FLAGS="kdbg -r :1234 -- $(ELFFILE)"
|
|
debug-kdbg: debug
|
|
|
|
debug-ddd: DEBUGGER_FLAGS="ddd --eval-command='target remote :1234' $(ELFFILE)"
|
|
debug-ddd: debug
|
|
|
|
debug-tui: DEBUGGER_FLAGS="x-terminal-emulator -e gdb -ex 'target remote :1234' -tui --args $(ELFFILE)"
|
|
debug-tui: debug
|
|
|
|
debug-gdb: debug
|
|
DEBUGGER_FLAGS = "x-terminal-emulator -e gdb -ex 'target remote :1234' --args $(ELFFILE)"
|
|
|
|
debug:
|