~aleteoryx/muditaos

389ce032ae776ecb572a5b2add829a527d416365 — Mateusz Szczesny 2 years ago 1f50621
[BH-1720] Changed GDB python to python 3

If the debug session was started using the run.sh script,
the python version is now python 3.
1 files changed, 2 insertions(+), 2 deletions(-)

M run.sh
M run.sh => run.sh +2 -2
@@ 1,11 1,11 @@
#!/bin/bash -e
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

source config/common.sh

BIN_DIR="build-rt1051-Debug"
GDB_ARM=$( hash arm-none-eabi-gdb-py 2> /dev/null && echo "arm-none-eabi-gdb-py" || echo "arm-none-eabi-gdb" )
GDB_ARM=$( hash arm-none-eabi-gdb-py3 2> /dev/null && echo "arm-none-eabi-gdb-py3" || echo "arm-none-eabi-gdb" )

help() 
{