From 62bf26d457222d8576fbd624ccb6f340e8602247 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Wed, 10 Mar 2021 17:23:04 +0100
Subject: [PATCH] openharmony-image-common.inc: always include the gdbserver
 for debugging

By just installing this into all of our images we open the door for
in-field debugging. It needs to be invoked manually and we do not drag
in any dbg packages so the image size stays sane.

Combined with a remote debugging setup and copy of the images files and
symbols this can allow full debugging capabilities with GDB or an IDE
later on.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 meta-ohos-core/recipes-core/images/openharmony-image-common.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-ohos-core/recipes-core/images/openharmony-image-common.inc b/meta-ohos-core/recipes-core/images/openharmony-image-common.inc
index 16eb969b..b3a6987e 100644
--- a/meta-ohos-core/recipes-core/images/openharmony-image-common.inc
+++ b/meta-ohos-core/recipes-core/images/openharmony-image-common.inc
@@ -6,6 +6,7 @@ IMAGE_INSTALL_append = "\
 			packagegroup-net-essentials \
 			packagegroup-net-tools \
 			packagegroup-ble-essentials \
+			gdbserver \
 			"
 
 # This is a workaround in case the build runs on ZFS with compression on.
-- 
GitLab