1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

tools/renode: qemu: move debug script in common place

This commit is contained in:
Alexandre Abadie 2020-11-21 22:50:18 +01:00
parent ae20873510
commit 4ff5b749b0
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# This script wraps Renode emulator GDB server and a debugger
# This script wraps an emulator GDB server (renode or qemu) and a debugger
# client in a single command and takes 4 arguments: the board to emulate,
# the application directory of the the current application, the elffile
# containing the firmware to debug, the debugger port and custom debugger client
@ -42,7 +42,7 @@ trap "cleanup ${EMULATOR_PIDFILE}" EXIT
# don't trap on Ctrl+C, because GDB keeps running
trap '' INT
# start Renode GDB server
# start emulator GDB server
sh -c "\
GDB_PORT=${GDB_PORT} \
EMULATOR_PIDFILE=${EMULATOR_PIDFILE} \

View File

@ -18,4 +18,4 @@ DEBUGSERVER ?= $(EMULATOR)
DEBUGSERVER_FLAGS ?= $(QEMU_DEBUG_FLAGS)
DEBUGGER_FLAGS ?= $(BOARD) $(APPDIR) $(ELFFILE) $(GDB_PORT)
DEBUGGER ?= $(RIOTTOOLS)/renode/renode-debug.sh
DEBUGGER ?= $(RIOTTOOLS)/emulator/debug.sh

View File

@ -28,4 +28,4 @@ DEBUGSERVER ?= $(EMULATOR)
DEBUGSERVER_FLAGS ?= $(RENODE_DEBUG_FLAGS)
DEBUGGER_FLAGS ?= $(BOARD) $(APPDIR) $(ELFFILE) $(GDB_PORT) "-ex \"monitor start\""
DEBUGGER ?= $(RIOTTOOLS)/renode/renode-debug.sh
DEBUGGER ?= $(RIOTTOOLS)/emulator/debug.sh