GDB: minimal configuration for stm32mp machine support

This commit is contained in:
Christophe Priouzeau committed 2019-02-05 11:22:31 +01:00
1 parent f3cc21b866
commit 6c2e5c1d24
3 files changed
+42

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
target remote :3333
set arm fallback-mode thumb
monitor reset
monitor halt
@@ -0,0 +1,19 @@
FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/files:"
#Add scripts for gdb/openocd/eclipse
SRC_URI_append_stm32mpcommon += " \
file://gdbinit \
"
# Ref to yocto default conf at:
# openembedded-core/meta/recipes-devtools/gdb/gdb-common.inc
# We force activation of tui for the "layout" command.
EXTRA_OECONF_append_stm32mpcommon = " \
--enable-tui \
"
do_install_append_stm32mpcommon() {
install -d ${D}/${bindir}/
cp -a ${WORKDIR}/gdbinit ${D}/${bindir}/
}
+19
View File
@@ -0,0 +1,19 @@
FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/files:"
#Add scripts for gdb/openocd/eclipse
SRC_URI_append_stm32mpcommon += " \
file://gdbinit \
"
# Ref to yocto default conf at:
# openembedded-core/meta/recipes-devtools/gdb/gdb-common.inc
# We force activation of tui for the "layout" command.
EXTRA_OECONF_append_stm32mpcommon = " \
--enable-tui \
"
do_install_append_stm32mpcommon() {
install -d ${D}/${bindir}/
cp -a ${WORKDIR}/gdbinit ${D}/${bindir}/
}